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
marchandojmarchandoj 

VisualWorkflow: How to create Multiple Opportunity Line Items

I'm trying to use flow to allow users the ability to use a wizard when adding line items to opportunities.

I have 2 problems:
1. I'm not sure how to tell the flow to look up the opportunity ID of the Opportunity I run the flow from.
I have added a custom ' add products' button in Opportunity screen.

2. I cannot figure out how to create multiple line items and add them to my opportunity
I am using dynamic choices to present options to the users, and they can select more than 1 product from the multi-select picklist. After I select (only) a single product I keep getting an unhandled error message.


Does anyone know of anywhere I can go to see an example of how this type of scenario would work?