#result reference
#result is a reference to a result. You can refer to the previous Task result simply with the #result reference. To refer to a specific Task’s result you define the Task name in the result statement
#result[task name]
In a Process you can refer to any Task results executed before the point of reference.
You can utilize dot notation in association with the #result reference for example this way
#result[task name].Body.ProductID
where 'task name' is the Task name result of which you are referring to. Or, in case you are referring as previous Task's result, the statement is:
#result.Body.ProductID
Note the following:
when you execute a unit test for the Task, #result references cannot be used as the result data is not available
Task result logging can be skipped by setting the 'Skip logging result and parameters' on under Task's advanced settings.
The next article is Introductions to Decisions and Loops