Steve Giller Posted April 20, 2017 Share Posted April 20, 2017 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 More sharing options...
Steve Giller Posted April 20, 2017 Author Share Posted April 20, 2017 P.S. I tried replacing .outcome with .reason but that didn't work Link to comment Share on other sites More sharing options...
Victor Posted April 20, 2017 Share Posted April 20, 2017 @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> ... Link to comment Share on other sites More sharing options...
Steve Giller Posted April 20, 2017 Author Share Posted April 20, 2017 Awesome, thanks @Victor - I was just looking for the wrong wording! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now