Populate parameter from table columns

Scenario: I have a number 3 static text, multiline parameters - {AccountIds}, {SupporterIds}, {ContactIds}.

I pass each one in to various 'Import from Salesforce' actions that exist at various points in my workflow, in order to fetch limited pots of data from parameterized Salesforce objects

Example:

Filter: :backhand_index_pointing_down:t4:

(ContactPointAddress, Account, Supporter_Consent__c etc)

In order to populate each field, I need to manually copy & paste the concatenated Ids from one table.

The Ids are not immediately available at the start of the workflow, so once they HAVE been generated in the workflow, I manually copy & paste the values into each parameter - each time.

The problem: I (or the person running the workflow) must remember to manually refresh the Ids each time – otherwise the auto-fetched Salesforce data doesn’t match the current data set.

I'm currently making do with a To-do to remind or the user.

Can anyone suggest or recommend how I can automate this last step by, perhaps, auto-populating the parameters as soon as the data becomes available in my workflow?

Something tells me that the answer lies in either JSON (or XML), which I am only vaguely familiar with beyond interrogating API endpoints.

Thank you

Hi Nike,

No need to do it manually. EasyMorph has a mechanism called iterations which is basically loops. You need to create another module wiht these 3 parameters and move import from Salesforce into that module. Then use the "Iterate" action to call that module for a list of values. The action will assign the parameters of the called module with values from columns.

Iterations require a bit of learning, so I suggest taking a closer look at our tutorial articles on modules and iterations: