Plugin installed incorrectly. Rename plugin directory 'swiftmail.backup' to 'swiftmail'.
This is an old revision of the document!
Decision making by Email
It is possible to make a decision per mail, about which path the process should take at a branch.
For this, the employee, who has to make the decision, gets an Email with links, with which the path of the process can be decided.
Requirements
Mailnode, in which are the links for decision making
Tasknode before decision (with named output transition), so that the process does not continue but waits for the decision
XOR-Decision, with clearly named outputs
-
http://URL of the server/loom-portal/ProcessInstanceManager/setProcessVariableAndSignalProcessInstanceByTransitionName.soap?args[0]=${processInstanceId}&args[1]=variable&args[2]=Ja&args[3]=Entscheidung&args[4]=entscheidung&i=1&uid=eWl0L3BtOnRhc2shbm1vdGlvbg
Parameter of the link:
args[0]: Process instance ID of the process. This parameter can be taken like this
args[1]: Variable nname which should be set
args[2]: Value which should be written in the variable. This value corresponds to the name of one of the outputs of the XOR, depending on which output should be taken (in the example : “Yes or No”)
args[3]: Name of the activity which should be signalled (in the example “Decision”)
args[4]: Technically unambiguous identification of the transition which exits from the signalled activity (in the example “decision”)
-
The link ensures that the responsible task will be done and the process can continue. In addition, the variable, which the VariableDecisionHandler considers, is set so the right branch can be taken. VariableDecisionHandler in return sends the decision in the right direction.
Example