Reg: Flow design need to do Date validations

pavana3
Tera Expert

Hello Team ,

I have designed one flow design as per requirement and each condition i have Planned start and end date and  each date need to handle validations for example  

 

pavana3_0-1706774560547.png

validation 1: 

  • Planned Start Date = Same week as the Planned Start Date of the Release on Monday
  • Planned End Date = Same week as the Planned End Date of the Release on Monday

for another condition date validation should be 

  • Planned Start Date = Same week as the Planned Start Date of the Release on Monday, at 08:00h
  • Planned End Date = Same week as the Planned End Date of the Release on Monday, at 18;00h

validation 3:

  • Planned Start Date = Same week as the Planned Start Date of the Release
  • Planned End Date = 2 weeks after the one set in the Planned Start Date of the Release

validation 4:

  • Planned Start Date = One day after the first phase (Impact Assessment) is finished
  • Planned End Date = 1 week and 3 days after the date in Planned Start Date

validation 5:

  • Planned Start Date = 6 WORKING days after the Planned Start Date of fourth release phase (Testing Period)
  • Planned End Date = Same date as Planned Start Date of this Phase

 

please help me how to do in flow design 

 

Thanks & Regards,

bandi

2 REPLIES 2

Community Alums
Not applicable

Hi @pavana3 ,

Create a flow variable and set the value of this variable by creating a custom action and then you can use it in your condition.

 

Within custom action you can simply return gs.nowDateTime();

 

Plan start date must be Monday only in that week or if select also should allow only monday  and end date also same day of monday 

 

this i am not able to do in flow design