Wednesday, 2 March 2016

List of BPEL Activities 2

Flow Activity: Flow Activity enables you to specify one or more activities to be performed concurrently or parallelly. A Flow Activity completes when all activities  in the flow  have finished processing or skipped.
                      whenever you think about fixed number of branches executed parallelly use Flow activity. 

FlowN Activity: FlowN Activity used to invoke services parallel,it creates multiple flows equal to the value of n, which is defined at runtime based on the data available and  logic within the process.
                        An index variable increments each time a new branch created, until the index variable reaches the value of N. The FlowN activity is replaced by the forEach activity in BPEL 2.0 project.


Transform Activity: This activity enables you to create a transformation that maps source elements to target elements.



Java Embedding Activity: This activity enables you to add custom Java code to a BPEL process using the Java BPEL exec extension <bpelx:exec>. This is useful when you already have Java code that can perform a function, and want to use this existing code instead of starting over.



Dehydration Activity: Oracle BPEL Process manager uses the dehydration store dbase to maintain long running asynchronous processes and their current state information in dbase while they wait for asynchronous callbacks.

                   Few activities causes the BPEL instances to be dehydrated, the dehydrated activities are wait, receive, pick,reply, invoke, java embedding, call back.


Compensate Activity: Compensate activity undoes the steps of a business process that are already successfully complete. This activity can be invoked only from within a fault handler or another compensation handler. Compensation occurs when a process cannot complete several operations after already completing others. The process must return and undo the previously completed operations. 

                    For example, assume a process is designed to book a rental car, a hotel, and a flight. The process books the car and the hotel, but is unable to book a flight for the correct day. In this case, the process performs compensation by unbooking the car and the hotel.The compensation handler is invoked with the compensate activity, which names the scope on which the compensation handler is to be invoked.


Throw Activity: This Activity generates a fault from inside the business process.

               

No comments:

Post a Comment