function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jpsfdcjpsfdc 

How to design a flow to process mulitple records in one pass through

Hi,

I have a situation where I store template, question and answer information in 3 different objects and all are tied togeather like template>question>answer. We recently got upgraded to Summer'12 release in sandbox and Iam trying to use Visual workflow to design a process for taking a template survey.Ideally I want the flow to work like

-Query the list of templates available and let the user to choose one (I was able to do this via dynamic choice drop down list)

-For the chosen template get all the available questions and their answers (Not sure how to do this)

-Save the Qn and Ans results to a different object and then tie that to an account. (Can we insert all qn and ans in one record create element in the workflow?)

Thanks for your help.

 

RajaramRajaram

The questions/answeres for a template is essentially a flow. 

with summer you can have a flow for each of  your template and then call it as a subflow.

Each subflow will know how to store the data in any data in salesforce as it is aware of the questions in them.