How to get ProcessDefID

Confluence User - 26 Aug, 2020

Is there any API that returns the current ProcessDefID that takes appId and processId since processDefID changed every version change(deploy process) since JSON api takes the current processDefID 

JSON api that start process : web/json/workflow/process/start/{processDefID}
json;api;process

2


28 Aug, 2020
confluenceUser
1
confluenceUser

Hi, according to the docs at JSON API#web/json/workflow/process/start/(*:processDefId) you can use "latest" in place of a specific version


Obtaining Latest Published Process Version

Instead of specifying crm:3:process1 in the call, we can use the keyword latest in the processDefId - crm:latest:process1 to automatically set to the published app's process version.
07 Sep, 2020
confluenceUser
confluenceUser

but the activityId returned is empty

{
    "recordId""tr5d1524-uht8-2355-2341-2512542252ok",
    "activityId""",
    "processId""12_myApp_p1"
}

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print