Hello,
I try to find out how to pass a value calculated insite a script called by a ScriptExec ScriptComponent from the according process step to the next step.
What I've found so far:
- a few forum entries mention the syntax "&OUT(paramName)&"
- there is a a Parameter "ParamOutName" at ScriptExec Component
- In ScriptSamples, I can find this regarding OUT parameters: Value = CLng("&Out(FileSize)&") < $OnLineLimit:Long$
- Parameters on process steps can be of type "IN" and "OUT"
- ScriptExec has more Parameters which may apply here: "Value / Value = "Return of the script", "PassParametersAndResult", "UseBooleanResultAsComponentSuccessValue". I can not find documentation about them.
- The Process Orchestration documentation mention OUT parameters with this example: Value = "&Out(FileSize)&"
- Scripts seem to be not allowed to use ByRef parameters.
Until now, I still don't know how to pass values from a script to the next process step.
Is there somewhere a complete example, including how to set the value inside the script for passing it back to the process step, and passing it over to the next process step?
Thanks and best regards,
Juergen