BPM: Increase the UX with Active Waiting

Hi,

I had some projects in the past where Oracle BPM has been involved and I have been asked many
times on how can we improve the experience of

Initiating an Asynchronous Process and redirecting Automatically to the first Human Task UI when available

The code of this post can be found in my GitHub
https://github.com/DanielMerchan/ActiveWaitingDemo

Architecture of the Active Waiting Demo

The following diagram describes the Architecture of the Demo.


  • 1. The ADF UI Application starts a Asynchronous BPM Process by calling the start asynhronous interface exposed by the BPM Process.
    • 1.a: The First Activity of the BPM Process registers in a CUSTOM database table the Process Info. This information is needed by useful administrative SOA API which is used to retrieve the Audit Trail and other statuses of a BPEL / BPM Process.

       
      • Note: The BPM Process has 3 Timer Activities to simulate processing before a Human Task is reached
    • 1.b: The Poller starts first trying to get the Process Instance Id by the custom id of our process. Once it is taken then 2 happens
  • 2: We use the Process Information to invoke the SOA API which can makes us to check the Audit Trail / Audit Image of a BPEL / BPM Process.

    • We poll the SOA API to refresh the status of the BPM Process being executed in Background. You can find the PollerEvent in the AssignedTasksBacking.java
    • Once the BPM Process has reached a Human Task. We can add the logic to redirect the user to its URL if the user is part of the Assignees of the Task. In addition, we also Auto-Claim the Task

Comments

  1. I just want to thank you for sharing your information and your site or blog this is simple but nice Information I’ve ever seen i like it i learn something today.  Cloud BPM

    ReplyDelete

Post a Comment

Popular posts from this blog

OJET: Inter-Module communication in TypeScript Template

OJET: Build and Deploy in an Application Server

OJET: Select All options using only Checkboxset