Jump to content

Retrieve reason from Human Task


Recommended Posts

I can retrieve the outcome of a Human Task with &[functions.getTaskParams("taskID").outcome] but is there any way to get the reason given?
I have an option for "Task could not be completed" which must provide a reason, and I want to use that reason as the instruction in a future task.
 

Link to comment
Share on other sites

@DeadMeatGF for task reason you would use this: &[functions.getTaskParams("<task_id>").completionDetails]

<task_id> will get replaced with the task id as defined in the BP XML file... In case you wonder why is that there... you would need to use the Variable Picker for this...

EDIT: just noticed you are aware of the <task_ID> ... :)

Completion_details.PNG

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...