Hi, I have a subprocess that must be executed in multiple istances (one at time)

Hi, I have a subprocess that must be executed in multiple istances (one at time) and the result of all executions must be recorded..like an append to a multi-variable of the process caller..
How to configure this solution?...

OriginalPostID-35143

OriginalPostID-35143

  Discussion posts and replies are publicly visible

Parents
  • You could have a single value (Number type) PV in the main process. In the sub process have a similar single value PV. Pass the single valued PV from the main process to the sub process. Make sure that you pass this PV to the sub process byreference.
    In the sub process, keep incrementing the value of this PV by 1 (in a script task) each time an instance of the sub process runs.
Reply
  • You could have a single value (Number type) PV in the main process. In the sub process have a similar single value PV. Pass the single valued PV from the main process to the sub process. Make sure that you pass this PV to the sub process byreference.
    In the sub process, keep incrementing the value of this PV by 1 (in a script task) each time an instance of the sub process runs.
Children
No Data