Hi all,

i am new to Joget , i have tried to start a process using the JSON API

/web/json/workflow/process/start/HRSystem:1:LeaveRequest?j_username=superadmin&password=test&decesiontaken=notyetapproved.

But i have noted that the process will be started and the user can check this instance on his Inbox,, but the environment variable (decesiontaken) which i defined in the "workflow designer " tool will be empty . while i have passed its value in the above API request which in my case should be "notyetapproved ".

Any help in how to handle this problem and to be able to set the environment variable correctly.

  • No labels

1 Comment

  1. Hi there,

    Please see Sample JSON API Integration. You need to use the prefix "var_" for variables to be set into the Workflow Variables.

    Cheers.