BPM, Workflow, and Case

  • 1.  Adding Quick Tasks in IBM Case Manager - need help to get this working

    Posted Mon October 18, 2021 09:42 AM
    I am trying to get the quick tasks script to run based on the following document:
    Announcing Quick Tasks - the Newest Member of the IBM Case Manager Task Family

    I have setup the To-Do List widget and Script Adapter Wires in the following way:


    The Script Adapter JS is as follows (from the document linked above):


    After deploying the solution and "refreshing the to-do" list:


    I would like help in getting this to work.

    Thanks!



    ------------------------------
    Soham More
    ------------------------------



  • 2.  RE: Adding Quick Tasks in IBM Case Manager - need help to get this working

    Posted Tue October 19, 2021 11:45 AM
    Edited by DAVE PERMAN Thu October 28, 2021 11:18 AM
    Hi.

    It appears you are on a process task page.

    The example was written using an event button added to the Case Toolbar widget and wired to the Script Adapter on a Case Details page.

    Depending which page type you are on, the context in the payload will be a little different. I suggest adding a debugger break at the beginning of your scrip and having a look at what is being passed fo you. Once you have the case reference, the script should work as advertised.

    You can also add the following line to the end of the script to automatically refresh the To Do widget to show your new Quick Tasks:

    this.onBroadcastEvent(“icm.RefreshToDoTaskList”,null);


    ------------------------------
    DAVE PERMAN
    ------------------------------



  • 3.  RE: Adding Quick Tasks in IBM Case Manager - need help to get this working

    Posted 30 days ago
    Hi Dave,

    I redid everything on the Case Details page as per your suggestions and the script worked for me.
    Thank you for your help.


    ------------------------------
    Soham More
    ------------------------------