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
msmithey13msmithey13 

I have created a simple visual workflow to create a case from a button on the account detail page. Using Dynamic Choice for Account name in new case. Gov. Limit warning and restricted choices shown. How to counter?

The custom button kicks the visual workflow.  Three questions only.  Need to populate the Account name in the new case.  Trying to use Dynamic Choice.  Very limited picklist shown and receiving Apex Governor Limits warning via email.  Ideally the new case would populate the account name as the same name as the account from which the flow button was initiated.  But....
Good news it that if I use one of the limited picklist options to create the new case, it works perfectly.
Anyone know how I can get this accomplished, even if I cannot use Dynamic Choices?
Ashish_SFDCAshish_SFDC
Hi , 


What is the Governor Limit that you are getting warning for?

See he blog below which has code and steps for Creating a Dynamic Choice to Pick an Existing Contact

http://buttonclickadmin.com/salesforce-visual-workflow-advanced-flows/


Regards,
Ashish