The Benefit Point Lookup Mapper step is used to look up records in Benefit Point. An account is required for this step to work.
Illustrated in the image below is a flow where the Benefit Point Lookup Mapper step is used.
Adding a Benefit Point Lookup Mapper Step
To add a Benefit Point Lookup Mapper step in a flow, follow the instructions below:
1. Click on the plus icon as shown in the image below.
2. The page below will appear. Select or search for Benefit Point as shown in the image below.
Configuring a Benefit Point Lookup Mapper Step
Illustrated in the image below is the configuration that is available in the Benefit Point Lookup Mapper step.
A connection is required for this step. Click on the highlighted plus button to create a new connection.
Entity – The entity or method to use to retrieve. Click on the dropdown arrow to select from the list. Once selected, the Lookup Type options will be generated.
NOTE: The Lookup Type may differ depending on the Entity selected. The Account Entity has been selected in this example.
Mappings – Determine the mappings from the lookup object to the record object. To add a field to map, click on the ‘Add Row’ button as outlined in the image above.
From Path – The path or value to map from.
To Field – This field is mandatory. This specifies the path or name of the new field to map to. In this example, it has been set to “_account”.
Default Value – This is a default value to use in the new field if there is no source field found on the input record.
Type – The data type. This could be a String, Number, Boolean or any other data type required. Select the required from the dropdown list.
On Not Found – Action to be taken if data is not found. The options available are Error, Null, Discard, or Skip.
Enable Caching Checkbox – Cache results so that they are only fetched once for a specific ID when checked.
Enable Debug checkbox – Show debug results.
Retry – The option can be enabled by clicking on the checkbox. It will retry an HTTP call to the Benefit Point Web Services API
Times – Set the number of retries to attempt.
Delay – Set the delay, in seconds, between the retries.
Using a Benefit Point Lookup Mapper Step
To use a Benefit Point Lookup Mapper Step, follow the instructions below:
1. Click on the play icon on the Calculator step after a Benefit Point Lookup Mapper Step, as highlighted in the image below:
2. Click the Test button as shown in the image below.
The image below shows the output from the Benefit Point Lookup Mapper step.