Dec 26, 2011
Oracle BPEL Pick Activity
The pick activity provides two branches, each one with a condition. The branch that has its condition satisfied first is executed.
This activity waits for the occurrence of one event in a set of events and performs the activity associated with that event. The occurrence of the events is often mutually exclusive (the process either receives an acceptance
or rejection message, but not both). If more than one of the events occurs, then the selection of the activity to perform depends on which event occurred first. If the events occur nearly simultaneously,
there is a race and the choice of activity to be performed is dependent on both timing
The pick activity provides two branches, each one with a condition. When you double-click the Pick icon, the pick activity displays these two branches: onMessage (on the left) and onAlarm (on the right).
#1. The onMessage branch contains the code for receiving a reply, <Your Business Logic>.
#2. The onAlarm branch contains the code for a timeout, for example, after one
Whichever branch completes first is executed and the other branch is not.
How to Call Synchronous BPEL Process from Mediator
Hope that helps