Is there any possibility to get the selected Decision Answer of a Decision Task using assystREST? From playing around with the API, I can get the Attached Decision Answers on the Decision Task event, but I can't find any easy way to see which one was selected. I also had a look at the Actions schema which includes a Decision field, but it seems like this is only used when taking a Decision action via REST, and doesn't return a value after the fact.
Solved
Getting the selected decision answer of a decision task using assystREST
Best answer by Julian Reid
You should be able to reach the selected answer for a task event via the following path: event -> parentStage -> tasks -> answer
For example: {server url}/assystREST/v2/events/{task event id}?fields=parentStage.tasks.answer
(There will only ever be one task in the “tasks” array of the “parentStage” since it is a decision stage.)
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.