BPM, Workflow, and Case

BPM, Workflow, and Case

Come for answers. Stay for best practices. All we’re missing is you.

 View Only

Terminating work items with JavaScript

  • 1.  Terminating work items with JavaScript

    Posted 04/05/24 05:39 PM
    Edited by Martin Iturbide 04/05/24 05:49 PM

    Hello

    On a Case solution in BAW 22 I want to create a button for the "Workflow Administrators" so they can terminate a case (Work item), but I can not found any examples on how to do it with javascript. 

    Any point to documentation or Javascript classes documentation is welcome.

    Why I want to do this? I was not able to find a way to give "Workflow Administrators" access to ACCE only to the part that can only terminate cases. If there was a way to give them access to ACCE without allowing the user doing any dangerous stuff (like deleting objects stores) and only to search the cases and do tasks like unlock, terminate, etc. The other alternative is to install the old Process Tracker Java applet to set can terminate task, but the Java applet is just too old. Is it some other way I don't know?

    Regards



    ------------------------------
    Martin Iturbide
    Consultant
    Next Step C.A.
    Quito
    ------------------------------