BPM, Workflow, and Case

 View Only

How to complete an activity of a case using Process/Javascript API

  • 1.  How to complete an activity of a case using Process/Javascript API

    Posted Tue February 21, 2023 01:54 PM

    Hello

    I have a form in a Coach(exposed as URL) which has fields, upon submission of the form a case is created in BAW using Case Toolkit. On the same coach I am also displaying the list of existing cases for the user. Once user clicks an existing case a UI is displayed and then I need to complete one of the activity (this activity was started by the Case Worker to get more information) associated with the case. I have the caseId available when the existing case is selected.

    How to accomplish this through some Process/Javascript API ? Can I use CaseId to find activity and then move it to complete state ?



    ------------------------------
    Lakshya Agarwal
    ------------------------------