Unexpeced results while executing custom script

Discussion created by gcubed Champion on Aug 15, 2014
Latest reply on Feb 8, 2018 by BChinn

It appears that when the gel_objectInstanceId or processInstanceId variable is passed in steps other than the start step it can cause unexpected results.


After upgrading to 13.3 we had a number of process failures and support has recommend that we pull out gel_objectInstanceId from all of our scripts and in the start_step we persist gel_objectInstanceId into another variable.


<gel:persist scope="INSTANCE" value="${gel_objectInstanceId}" var="thisInstanceId"/> 


The also recommend that you do not place any gel in the start step except for the setting the persistent var.


Reference Tech Document TEC495262.


Would have been good to know before developing 100+ scripts!