Open Web-Modeler on the same SaaS environment of Optimize (e.g. both dev)
With F12 (developer tools), do some operation in the web-modeler and from one of the requests copy the value of "cookie" from the request header
Copy the text from the cookie from the step above to a text editor, look for modeler_token0=<HUGE_STRING>. Copy the value of huge String, up to, but not including, the character ";" (Tip: to find the end of huge string, look for modeler_token0.sig=, this starts immediately after the string above ends). The value of <HUGE_STRING> is your JWT Token
In Postman, make a post request to https://<OPTIMIZE_URL_INCLUDING_CLUSTER_ID>/api/process/initial-owner
Body: { "processDefinitionKey": "<YOUR_PROCESS_DEF_KEY>", "owner": "<CLOUD_USER_ID>" }Example for Cloud user ID: samlp|Okta|giuliano.rodrigues-lima@camunda.com
Authorization: Type Bearer Token. Value: The JWT Token from above (the huge string)
Expected Result 204
Giuliano Rodrigues Lima
added a comment - - edited Notes for testing:
Open Web-Modeler on the same SaaS environment of Optimize (e.g. both dev)
With F12 (developer tools), do some operation in the web-modeler and from one of the requests copy the value of "cookie" from the request header
Copy the text from the cookie from the step above to a text editor, look for modeler_token0=<HUGE_STRING>. Copy the value of huge String, up to, but not including, the character ";" (Tip: to find the end of huge string, look for modeler_token0.sig=, this starts immediately after the string above ends). The value of <HUGE_STRING> is your JWT Token
In Postman, make a post request to https://<OPTIMIZE_URL_INCLUDING_CLUSTER_ID>/api/process/initial-owner
Body: { "processDefinitionKey": "<YOUR_PROCESS_DEF_KEY>", "owner": "<CLOUD_USER_ID>" }Example for Cloud user ID: samlp|Okta|giuliano.rodrigues-lima@camunda.com
Authorization: Type Bearer Token. Value: The JWT Token from above (the huge string)
Expected Result 204
Notes for testing:
Authorization: Type Bearer Token. Value: The JWT Token from above (the huge string)