Reusable tasks and Participant Data

If I have a reusable task that collects an account number and I define it as Flow.AccountNumber
Then I setup a custom webservice that returns me the account number along with other pieces of information like the last 4SSN or a PIN and I define it as (flow.PIN or flow.Last4SSN). After authenticating with a web service and a logical decision object, I jump to a reusable task,
In this new task I am going to authenticate either the PIN and/or the last 4SSN.
If in my single web service call I collect the output for my 4SSN and PIN number in one of the output boxes, can I recall that information in the new task?
In otherwords, I don't want to make another web call to authenticate the PIN or last 4SSN, I just want to compare what was returned in the previous flow and set to an output (Flow.PIN or Flow.Last4SSN) so that I can compare it to a collect input (flow.AuthenticatePIN) as such:

flow.PIN==flow.AuthenticatePIN

Or do I need to make a new call to define flow.PIN or anything different?

Thanks.

Yes, when you make a variable accessible for the entire flow instead of just the task it is created in, you are able to use it at any point in the flow. The scope of the variable is indicated by it's name (Flow.x is accessible throughout the entire flow, Task.x is only accessible for the current task).

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.