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
Lipsa MLipsa M 

Values inside decision box of the flow

Hi,

I have a sObject variable say vDaysOfWeek which has values like 'Mon','Tue','Wed' etc.
In my flow decision box, I need to check my input variable vInputDay matches with my sObject value.

eg : Outcome1 : vInputDay  equals  'Mon' -> do some stuff
       Outcome2 : vInputDay  equals  'Tue' -> do something else... 

Please suggest a way to implement this in cloud flow designer.
I do not want to hardcode the values but retrieve them from sObject.

Thanks.
Jayanth ThathapudiJayanth Thathapudi
Hi Lipsa,

Did you found the solution? If not...

1. Use Lightning Flow Designer(Formerly known as Cloud Flow Designer) 
2. Drag "Assignment" under "Logic" section
3. Select the resource type

User-added image
and give some name to it and store the value.

We can use it in the Flow for criteria logic
[Use "Debug" feature to test your flow whether it is working as expected or not]

Thanks,
Jay