I am new to working with process maker and I cannot figure out how to get the form for the current task in a process using the GET /cases/{app_uid}/current-task
. I am able to create new cases using POST /cases
, which go in the draft. I am also able to route those cases and put them in inbox using the /cases/{{app_uid}}/route-case
. I can also figure out the variables using the process-variables
API endpoint. But I cannot tell which variable is needed by the current task and how to get the options for it.
Is someone aware of this? How to get the dynaform for the current task?