Start Process Smart Service

Hello Experts,

Kindly help me to understand below Queries.

1: How can we get output from a SubProcess triggered through StartProcess Smart service in a process model.

2: Can we say that a!startProcess() smart function is replica of Start Process Smart Service and onSuccess attribute of a!startProcess() can be used to get the output from the called process.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    In the start process node, you can add an output where you use the value "ac!ProcessInfo.pv." & the PV name from the subprocess, to save to a PV in the calling process.  The value will be set to whatever value the PV has when chaining is first broken in the subprocess, so you need to take that into account.

    The smart service function is either very similar or uses the same back-end functionality (not sure which), and its output works the same way.

Reply
  • 0
    Certified Lead Developer

    In the start process node, you can add an output where you use the value "ac!ProcessInfo.pv." & the PV name from the subprocess, to save to a PV in the calling process.  The value will be set to whatever value the PV has when chaining is first broken in the subprocess, so you need to take that into account.

    The smart service function is either very similar or uses the same back-end functionality (not sure which), and its output works the same way.

Children