I have a question regarding setting GEL variables with scope="instance". If I set a variable with SCOPE="INSTANCE" will the variable retain the value for entire execution of the process even if process is stuck for long time waiting on action item ? or session expired etc.
Release : 16.0.1
Component : Clarity XOG and REST API
Any scoped variable is stored into BPM_CUSTOM_SCRIPT_PROPS table and that how system keeps consistent track of scope of that variable, so it does not expire.
INSTANCE variables are only stored for the lifetime of the process instance. Once the process completes the INSTANCE variables stored for the particular process instance are removed.