In this section, you will learn to invoke an asynchronous service using message events:
Navigate to JDeveloper | SalesToContractDemo and click on the SalesToContract process.
You will locate the point where you need to perform an asynchronous service invocation and call-back. In the contracts swimlane, just after the Contract Finalize service task, you will use the indicated first point for service invocation and second point for service call-back:
Go to Component Palette | BPM | Events and click on Throw Message Event.
Drag-and-drop it to point 1 between the Contract Finalize and Save Quote tasks. This will open the Properties dialog.
Enter the name of the message event as Invoke_SaveQuote, in the Basic tab.
In the Implementation tab, let the Implementation Type be Message and select Initiates for Conversation
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.