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
Eduardo Offermann PalmaEduardo Offermann Palma 

How to trigger time dependent actions on Flows within an "if else if" logic

Hi,
   I have had searching the way to build with flows an user requirement that is built with the process builder but I have not been able to migrate it. I notice that the difference between scheduled paths (in flows) and scheduled actions (in processes) is that the scheduled actions can be executed, for example, after a series of conditions created on differents decision logic components but in Flows all scheduled paths born from the root. My requirement is:

if conditionA then
      schedule an action 24 hrs after X date to do action Z
else if condictionB then
      schedule an action 48 hrs after Y date to do action W

Instead in Flows I can do this:

schedule an action 24 hrs after X date then
     if conditionA then
          do action Z
schedule an action 48 hrs after Y date then
     if conditionB then
          do action W    

Apparently Flows do not have the possibility to create the "else if" conditions like processes? Could you please help me with that?

Thanks!
AnkaiahAnkaiah (Salesforce Developers) 
Hi Eduardo,

Refer the below article will help you to proceed further on your requirement.
https://www.levelupsalesforce.com/flows-if-statement

If this information helps, Please mark it as best answer.

Thanks!!
Eduardo Offermann PalmaEduardo Offermann Palma
Hi Ankaiah,

     That article shows how to do an if else logic but without time dependent actions.

     Thanks anyways :)