I am learning Flows and as of now I am not aware about all the components of it. So there is one req which I need to build and I am not sure how I can achieve it ?
Use Case :
There is a flow created on the custom object- Legal Agreement of which Account is a parent object.
On Account there is picklist field called, Engagement Model with values Reseller, Finder, Alliance and on Legal Agreement flow there is a picklist field called Contract Type with values Partner, T&C, EULA
Requirement -
If Contract Type value is selected as Partner on flow screen then it should check the values on the Engagment Model field on Account and if Reseller or Finder value is selected in this field then it should show some message or validation on the screen.
Flow Screen -
Please guide if anyone can.
Thanks in advance !
13 respostas
Eric Praud (Activ8 Solar Energies) Forum Ambassador
Apoloies, there are no validations on a picklist.
You'd probably need some workaround:
Create a number variable and default it to 0
Add a display component with the error message (maybe in red) and set the visibility to number variable equals 1
After this screen, add a decision that would check if Contract Type is partner
If so, go to another decision that would check if EngagementModel is either Reseller or Finder
If so, go to an assignment that would change the number variable to 1 and link the assignment back to the screen.
This should show you the error message then