OL Learn

Subproces pass variable to workflow

I allready saw a topic on how to pass a variable through jobinfo to the subproces.

is it also possible to pass a variable from the subproces back to the proces.

I want to do a query in the subproces and put the outcome in a variable to be used in the proces.

this subproces will be used by several processes simultaneously.

In the subprocess, you can store whatever value you want in a JobInfo and it will bubble back to the calling process as long as, in that calling process’ GoSub task, you have made sure to untick the Backup job file (which also controls jobinfos) option. If you were to tick it, the jobInfos would remain the same as they were before you call the subprocess.

ah thanks, I used this the wrong way, now it’s working.