BPM, Workflow, and Case

 View Only
  • 1.  Task Dashboard Refresh

    Posted Sat May 30, 2020 08:02 PM
    Hi All,

    I have a custom task dashboard. User launches the BPM task from this, It shows the count of all the BPM instances based on the various request statuses.

    Is it possible to refresh the counts on the dashboard after completion of a task? I think it is not possible as the dashboard is an independent component but just want to check if I am missing something. 

    Thanks

    ------------------------------
    Harish Gupta
    ------------------------------


  • 2.  RE: Task Dashboard Refresh

    Posted Mon June 01, 2020 11:01 AM
    Harish,

    This is possible using Mutation Observer. This will allow you to trigger code based on what the DOM looks like. So, you can tell it to look for a task frame, and if that task frame looks completed, then trigger a refresh. Keep in mind that whether you're using Client-Side Human Services, Heritage Human Services, or older, you will need to handle the closing of the respective tasks differently.


    ------------------------------
    Rex Townsend
    ------------------------------



  • 3.  RE: Task Dashboard Refresh

    IBM Champion
    Posted Tue June 02, 2020 01:35 AM
    Hi Harish,

    Before going for the solution, I would like to understand the mechanism of your task list, like - 

    1. How are you fetching the tasks and displaying the count ?
    2. In case a new task is assigned to the user/group how are you updating the current task list ?
    3. Once a task is complete how are you removing the task from the task list to update the list ?
    4. Are you loading the task list within process portal ?

    ------------------------------
    Atanu Roy
    ------------------------------