ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

GEL parameter SCOPE=INSTANCE

book

Article ID: 239321

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

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.

 

Environment

Release : 16.0.1

Component : Clarity XOG and REST API

Resolution

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.