I got my answers:
1) How long this GLOBAL
scoped PERSIST variable remain active? i.e. how long other processes can take values from this persist variable?
- This Global variable stays in system infinitely. It is stored in database and not impacted by Server restart/shutdown. Actually any scoped variable is stored into BPM_CUSTOM_SCRIPT_PROPS table and that how system keeps consistent track of scope of that variable.
2) What if there are multiple process engines?
- Not impacted. Variables and values are stored into DB.
3) What if BG is restarted?
- Not impacted. Variables and values are stored into DB.
4) What if App (Webpshere) is restarted?
- Not impacted. Variables and values are stored into DB.