An undercover agent (UCA) is attached to a message event
or a content event in a business process definition (BPD) and calls
a service to handle the event.

In the New Undercover Agent window, enter the following information:
Name: Type a name for the new undercover agent.
Schedule Type: Select On Event from the drop-down list.
Click Finish.
Suppose i gave "UCA_CANCEL" as UCA name.

If user generates an event on adhoc cancel order. It has to be handled.We are handling it to by UCA.
Click on Intermediate Message Event sendCancelOrder. Go to Implementation.
Select the UCA just we created.

So upto now, We generated an event that has to be handled by some service.
Iam taking Cancel Laptop Order to handle this event.

Click on Cancel Order Intermediate Message Event and go to implementation and select the UCA we created.

UCA's must be same in order call and handle that particular service.
In the New Undercover Agent window, enter the following information:
Name: Type a name for the new undercover agent.
Schedule Type: Select On Event from the drop-down list.
Click Finish.
Suppose i gave "UCA_CANCEL" as UCA name.
If user generates an event on adhoc cancel order. It has to be handled.We are handling it to by UCA.
Click on Intermediate Message Event sendCancelOrder. Go to Implementation.
Select the UCA just we created.
So upto now, We generated an event that has to be handled by some service.
Iam taking Cancel Laptop Order to handle this event.
Click on Cancel Order Intermediate Message Event and go to implementation and select the UCA we created.
UCA's must be same in order call and handle that particular service.
gudd keeep it up
ReplyDelete