starting a particular instance

Hi All,

Can i start a particular node and particular process instance from any external click (i.e from interface ) ?? 

 

Thanks,

Bhargavi 

  Discussion posts and replies are publicly visible

Parents
  • Hi Bhargavi,

    One way to do this without Send/Receive Messages, is using combination of a!startProcess and Get and Set Process Variables Smart Service. To start a node, when the value of a pv changes to desired.

    The actual process model that needs to be started, should have a rule event,just before the node you want to start. Have a condition, using a pv, for ex : pv!startNode = true. Make the pv!startNode =false initially.

    Create a process model that takes process instance id and process variable as input and uses Get and Set Process Variables Smart Service to set the PV. In this case to set pv!startNode = true.

    And on the button click of the interface, call this process model using a!startProcess and pass the process instance id and pv!startNode value . And this process would set the pv and start the node.

    Hope this helps. Lets see if other practitioners have better ideas.
Reply
  • Hi Bhargavi,

    One way to do this without Send/Receive Messages, is using combination of a!startProcess and Get and Set Process Variables Smart Service. To start a node, when the value of a pv changes to desired.

    The actual process model that needs to be started, should have a rule event,just before the node you want to start. Have a condition, using a pv, for ex : pv!startNode = true. Make the pv!startNode =false initially.

    Create a process model that takes process instance id and process variable as input and uses Get and Set Process Variables Smart Service to set the PV. In this case to set pv!startNode = true.

    And on the button click of the interface, call this process model using a!startProcess and pass the process instance id and pv!startNode value . And this process would set the pv and start the node.

    Hope this helps. Lets see if other practitioners have better ideas.
Children