Oracle BPEL PM provides an interface that we can access either locally (same JVM as the BPEL PM) or remotely (from within another JVM) to inspect and manipulate the workflow tasks. However, as discussed above, we may want a more customized, more sophisticated interface. With the standard Worklist Application from which we see a screenshot above, we can perform the Humanual tasks that are associated with BPEL process instances. Depending on the specification of the task, he can see data from the BPEL Process Instance, change values and feed them back to the process instance and finally change the status of the task: Close, Escalate, Approve, Deny etc.īuild our own interface for the Oracle BPEL PM Workflow System I have configured the task to sent a notification to the user who gets assigned the task.īy clicking the hyperlink in the email of by starting the Worklist Web Application, the user John Steinbeck navigates to the task that has been allocated to him. In a Switch element, we check for the Customer Status and the Order value and for GOLD and over 10k, we set up a workflow task for the completion of which the process instance will have to wait: Well, adding a bit of workflow to a BPEL process definition is very easy, larger drag & drop and wizard based property definition. When the Workflow completes, the ProcessOrder process resumes, possibly with an updated TotalPrice.A Java Web UI is used to present the task details and allow update of Total Price and Task Status.An email is sent for notification of the employee to start working on the deal-task.Start workflow in which a human needs to negotiate a deal, update the total price and complete the workflow.If the order total is over 10k and the customer status is GOLD, let’s try to negotiate a deal: As part of the Customer Care program they have come up the following extension to the ProcessOrder process: We have received an urgent request from our Marketing and Sales department to refine the process. The steps 2, 3 and 5 require external services to be invoked, to get a Price Quote for the product from a Java based service, gets the Customer Profile from a BPEL Service and records the order in the Orders Database using a SQL based service: processes the order straight into the Orders Database.awards a discount depending on the CustomerStatus.gets the customer profile from the CustomerProfileService.gets a price quote from the GetPriceQuote service. The order contains product id, number of items, desired warranty level and the customer id. The reception of that order triggers the instantiation of a new process instance. Our BPEL Process is the ProcessOrderService. And we will find out how we can find this task, analyze it and handle it from a remote Java application. In this article we will take a brief look at a simple BPEL Process with a simple Humanual Step – a Workflow task. There are several reasons for desiring programmatic access to the Workflow system of Oracle BPEL PM. Or perhaps we have developed a background process that has intelligence to pre-process specific tasks. Tasks are assigned to groups or individual users, email notifications can be sent to alert users to tasks waiting for them and the Workflow Web Application – shipped with Oracle BPEL PM – can be used to access these tasks and process them.įrequently however, the default Workflow Application will not suffice, for example because the processing of tasks must be integrated into an application already used by the organisation or additional information regarding the context of a certain task from external data sources may need to be presented along with the task. In the case of Oracle BPEL PM, these steps are implemented as calls into the Oracle BPEL PM Workflow Management infrastructure. An essential part of many BPEL processes are the ‘humanual’ steps – process steps that involve inter-human communication, system-bridging actions, decision making, approval and fuzzy logic based operations that we cannot perform automatically.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |