• USA : +1 973 910 5725
  • INDIA: +91 905 291 3388
  • info@tekslate.com
  • Login

Human Workflow

Continuing from earlier Mediator example, let’s extend our use-case to include Human Workflow.

MyDel handles two types of orders: Normal and Express. Normal orders are processed only after order items arrive in the Depot. Depot manager then logs into Workflow and releases the order to be sent for further processing in Order Management system. However, Express orders are directly sent for processing into Order Management system.

In this example, we are going to route orders through an Order Router that will route Express and Normal orders to Order Management service and Human Workflow respectively. Depot Manager logs into Workflow system to release order for the goods received in Depot. Released orders will be written to Order Management system.

Slide92

Deploy the HumanWorkflowExample as specified in the Deployment section.

This creates two instances of HumanWorkflowExample. One instance, with EXPRESS order entry, will directly write information to Order Management system where as the other entry creates a workflow that awaits Depot Manager’s approval.

Slide93

Click on the process Instance ID that is in “Running” stage. Process flow for this specific instance will be shown in a pop up window. We can see the process is waiting for Human Workflow stage.

Slide94

Click on the “OrderApprovalTask”. In the above screenshot, its the link on the left side of “Human Workflow Component”. From the next screen, click on “Go To Woklist Application” and login to workflow application. In my case, user name is “weblogic”. We can see an order entry pending for Approval. Click on “Actions” and then “Yes”.

Slide95

Come back to HumanWorfkflowExample in Enterprise Manager and check that process is now complete.

Slide96

Click on completed process instance, in this case 150010, to see process flow. We can see that OrderRouter invoked OrderApprovalProcess when order type is NORMAL. Once approved, OrdreManagementService is invoked through OrderABCS.

Slide97

We can also see BPEL process flow by clicking on OrderApprovalProcess. Explore Audit Trail and Flow tabs from the next screen.

Slide98

Slide99

Hope this lesson helped you appreciate Human Workflow features better. I personally prefer BPEL workflow to traditional workflows because of the ease and elegance.


 

Summary
Review Date
Reviewed Item
Human Workflow
Author Rating
5

“At TekSlate, we are trying to create high quality tutorials and articles, if you think any information is incorrect or want to add anything to the article, please feel free to get in touch with us at info@tekslate.com, we will update the article in 24 hours.”

0 Responses on Human Workflow"

    Leave a Message

    Your email address will not be published. Required fields are marked *

    Site Disclaimer, Copyright © 2016 - All Rights Reserved.

    Support


    Please leave a message and we'll get back to you soon.

    I agree to be contacted via e-mail.