Passing Values Using the Thread
AutoScript contains the SetThrVal ( name, val ) procedure in order to set a value (val) that is named (name).
The usage is:
call SetThrVal(name,val)
Later the value can be taken - probably in another agent context as:
val = GetThrVal(name)
At the moment the system sets the __parent_step value as the id of the parent Activity in order a FSM Agent can get it as:
parent_step = GetThrVal(“__parent_step“)
call UpdateField(“AU_PROCESS“, __au_process ,“AU_STEP_PARENT“,parent_step,““)