Using Converter FlowsLast Updated: 08/11/2016 Introduced in Verision: 2.0
Converter flows are flows designed to transform one type of data into another, and which are implemented as a mapping type. To use a converter flow in the Mapping Editor, select the input or output which will handle the converted data and change its mapping type to Run Converter Flow, then select which of the available flows should be used as the converter flow.
Our example flow is called Display Converted Email. It will retrieve a list of email addresses supplied by a converter flow – Get Email Address List – and display them in a form. The converter flow already exists, created in the topic Building a Converter Flow.
Open the Display Converted Email flow by clicking the Edit link on its thumbnail to open it in the Flow Designer.
By default, Get All 1 is configured to output a list of Account objects.
We also have the option of selecting a specific step output to use. We will select the output CreateorCopyData1_EmailAddressList and give it a mapping type of Pass Through so that it can be used in our flow. This completes our mapping for Get All 1, so we can click OK to close the Mapping Editor.
To display our list of email addresses, we need to configure our form. We will select [Form] Email Address List Form and, in the Properties panel, click the link Show Mapping Editor.
We will map the output CreateorCopyData1_EmailAddressList (provided by our converter flow) to our input Emails List. This completes the mapping for our form, so we can click OK to close the Mapping Editor.
Our flow is complete.
When we run our flow in the debugger, we are presented with a list of emails – each one belonging to a user account in our system.
Note that in Decisions version 3.5 and above, you’ll need to click Test Flow to access the debugger.