+ Start a Discussion
KMK91KMK91 

flows for Current Month

HI ,

How to write formula in flows for current month Date make 1.

Ex : i) if i'm creating an opportunity and i'll give close date to 29th May 2022 in this case make it 1.
ii) if i'm creating an opportunity and i'll give close date to 1st  June 2022 in this case make it 2.

Thanks
KMK
 
AnkaiahAnkaiah (Salesforce Developers) 
Hi KMK,

Can you explain more about your requirement?

What do you mean, close date to 29th May 2022 in this case make it 1.??

What is the value you need to update in the closed date?

Thanks!!
KMK91KMK91
Hi Ankaiah,

I have 2 objects called custom A and custom B there is master detail relationship between these 2 objects. In custom A object we have a field called "Date" And custom B object field called "Source"(Pick List Values: Type1,  Type2, Type3, Type4) using flows how to change the pick list values based on date. 



i)

if the user entered Date is July should update Type3( Consider from Current month) then
Month(Aug) should select Type4 
Month(Sep) should select Type4 
Month(OCT) should select Type4 
Month(Nov) should select Type4
Month(Dec) should select Type4
Month(Jan23) should select Type4


Etc.. 

ii)

if the user entered Date is May should update Type1 Consider from Current month) then
Month(June) should select Type2
Month(july) should select Type3
Month(Aug) should select Type4 
Month(Sep) should select Type4
Month(Oct) should select Type4
Month(Nov) should select Type4

etc.. 

Maximum last picklist value we need to populate automatically

Thanks
KMK