Skip to main content

We have a requirement where we need to get all the answers of the Decision task using ETm.

Example: A decision tasks has 2 Answers “Approved” and “Not-Approved”.

We want these answers in a variable.

Please help

Hi Manish,

I believe you would be looking at using the following setup but maybe need to use ‘On Behalf of’ or ‘Actioning Serv Dept’ to meet the requirements about only taking decisions which are assigned to a user's team:
 


Thanks,

Gary. 


I realize this is an old question and possibly no longer relevant to ​@Manish Verma

However, in case it still is relevant, or if someone else stumbles upon this thread with the same question I’ll give it a go:

Getting available decisions from an event using ETM is quite straightforward, simply specify decisionAnswers in the Fields: input of a Variable Assyst Search or a Record to Update field, and ETM will with each event return a nested array property which contains the events options for decision answers.

This is analogous to using ?fields=decisionAnswers in the assystREST API, and in both these cases, all you need to do is retrieve the value from the answer property of each object in the decisionAnswers array.

You can then for instance iterate over the results to construct your own object for use in further data mapping.

 

Best regards,

Richard