Difference between Call, Branch and Queue (Calling Methods) in Activity?

AllJobsInfo

Administrator
Staff member
Call instruction is used to cause the current activity to find another specified activity and execute it. When that activity completes, control returns to the calling activity.
The calling activity can provide input parameters to the called activity, or it can share its own parameter page with the called activity, an approach known as call-by-reference.


Branch instruction is used to cause the current activity to find another specified activity and branch to it without a return. When the system executes a Branch step, control transfers to another activity found through rule resolution. Execution of the original activity pauses.
When the branched activity ends, processing of the current activity also ends; no steps after the Branch step are executed.


The Queue instruction is used to start asynchronous execution of a second activity. This provides an alternative to the Call instruction, in situations where there is no need to wait for the completion of the second activity, or where processing in parallel is feasible and beneficial.
(I never used the Queue method till now..., Anyhow if any error occurs, we will make exceptional handling in that activity, so that the main process doesn't get any problem.)
 
Top