Signal Example
From Business Process Management, BPM and Workflow Automation Wiki | BizAgi BPMS
Signal Example
In the next example, a signal will be sent from an Invoice Payment process in order to create a case of Receive Payment as soon as an invoice is received and approved; the information of the Invoice Payment process must be available in the Receive Payment process.
As shown in the pictures below, a case is in the Approve Invoice activity, in the Invoice Payment process. If the invoice is approved, the case will go to the payment signal event.
When the case reaches the End Signal shape, a signal is thrown to look for another signal event (a catch signal) with the same name, in order to continue. This shape is available in the Receive Payment process, as a Signal Start. For this reason, a new Receive Payment case will be created.
All the information from the process that throws the signal will available in the new case created no expression is needed: the mapping of the information is automatic. You have to be careful, both processes (the throw and the catch processes) must belong to the SAME APPLICATION within the same project.
In the new process a form can be now built using the same Datamodel from the process that threw the signal. To access the whole data model from the new process, in the Forms Designer right click on the Application and select View All to display all entities.
<comments />