| To model a trigger to another business process |  |
| There are two methods of triggering, asynchrone and synchrone triggering. The asynchrone trigger is used when the business process that you want to trigger is independent of the triggering business process. In other words the activities further on in the triggering business process are not dependent on the outcome of the triggered business process. The synchrone trigger is used when the activities further on in the business process are dependent on the outcome of the triggered business process. For example the triggered business process takes care for the delivery of some goods you need further on in the triggering business process. Note Be aware that a sub process is a kind of synchrone trigger. Triggering a business process without receiving an answer Triggering a business process and receive an answer Triggering a business process without receiving an answer Asynchrone trigger In the (triggering) business process (10) you must define an activity as follows: 1 For the Activity Type field select Sending Trigger (1). 2 Go to the Sending Trigger tab. 3 For the External Business Process Type field select Actual Business Process. 4 For the Triggered Business Process field select the business process (20) that you want to trigger. 5 Do not specify the Receiving External State field. Triggering a business process and receive an answer Synchrone trigger References to an item in the figure look like (n), where n is the number of the item. In the (triggered) business process (20), you must define: An activity (5) of type Sending Trigger. Go to the Sending Trigger tab. For the External Business Process Type field, select Answer. This is the activity that answers back to business process (10) that it is ready. In the (triggering) business process (10) you must define an activity as follows: 1 For the Activity Type field select Sending Trigger (1). 2 Go to the Sending Trigger tab. 3 For the External Business Process Type field select Actual Business Process. 4 For the Triggered Business Process field select the business process (20) that you want to trigger. 5 Model an external state (7) in business process (10) where you want to receive the answer from business process (20). After you have saved the diagram you can select it in the next step. The location of the external state determines where you need the initiated business process to be finished. Note The activity that receives the answer of the triggered business process must not have extended scheduling options modelled. 6 For the Receiving External State, select the external state where you want to receive the answer that business process (20) is ready. By modeling it you can make it so that the business process waits for the answer of business process (20) before it continues with the next step. Asynchrone trigger In the (triggering) business process (10) you must define an activity as follows: 1 For the Activity Type field select Sending Trigger (1). 2 Go to the Sending Trigger tab. 3 For the External Business Process Type field select Actual Business Process. 4 For the Triggered Business Process field select the business process (20) that you want to trigger. 5 Do not specify the Receiving External State field. Triggering a business process and receive an answer Synchrone trigger References to an item in the figure look like (n), where n is the number of the item. In the (triggered) business process (20), you must define: An activity (5) of type Sending Trigger. Go to the Sending Trigger tab. For the External Business Process Type field, select Answer. This is the activity that answers back to business process (10) that it is ready. In the (triggering) business process (10) you must define an activity as follows: 1 For the Activity Type field select Sending Trigger (1). 2 Go to the Sending Trigger tab. 3 For the External Business Process Type field select Actual Business Process. 4 For the Triggered Business Process field select the business process (20) that you want to trigger. 5 Model an external state (7) in business process (10) where you want to receive the answer from business process (20). After you have saved the diagram you can select it in the next step. The location of the external state determines where you need the initiated business process to be finished. Note The activity that receives the answer of the triggered business process must not have extended scheduling options modelled. 6 For the Receiving External State, select the external state where you want to receive the answer that business process (20) is ready. By modeling it you can make it so that the business process waits for the answer of business process (20) before it continues with the next step. Synchrone trigger References to an item in the figure look like (n), where n is the number of the item. In the (triggered) business process (20), you must define: An activity (5) of type Sending Trigger. Go to the Sending Trigger tab. For the External Business Process Type field, select Answer. This is the activity that answers back to business process (10) that it is ready. In the (triggering) business process (10) you must define an activity as follows: 1 For the Activity Type field select Sending Trigger (1). 2 Go to the Sending Trigger tab. 3 For the External Business Process Type field select Actual Business Process. 4 For the Triggered Business Process field select the business process (20) that you want to trigger. 5 Model an external state (7) in business process (10) where you want to receive the answer from business process (20). After you have saved the diagram you can select it in the next step. The location of the external state determines where you need the initiated business process to be finished. Note The activity that receives the answer of the triggered business process must not have extended scheduling options modelled. 6 For the Receiving External State, select the external state where you want to receive the answer that business process (20) is ready. By modeling it you can make it so that the business process waits for the answer of business process (20) before it continues with the next step. |