Visual Workflow – How to Implement Scheduled Path Flow

visual-workflow

I have a record triggered flow in which should get triggered on create or update of opportunity. Requirement is whenever stageName is getting changed to "Closed Won" or stageName equals "Qualified" flow should trigger. There is also one scheduled path in this flow. I have mentioned two conditions as follows

when stageName is equal to "Closed Won" or stageName equals "Qualified". There is one email which gets triggered in action. Issue here I am facing is that even if I am not editing/updating any field of opportunity and trying to save a record whose stage is Closed Won or Qualified the record is entering scheduled path and email is getting triggered. Expectation is that flow should enter schedule path only when I am editing fields according to criteria mentioned above. Also can someone please help me to understand difference between all the four time source in scheduled paths? enter image description here

Best Answer

I have checked this internally with Product Team.In scheduled path any change in the date field placed in Time Source, Every time the field is changed it will reschedule. A reschedule does not require that the entry-criteria conditions transitioned from false-to-true.

As you have used LastModified Date in Time Source so when a record is edited the LastModifiedDate changes irrespective of any field change. So this is scheduling the path irrespective it is previously meets the condition or not.

You can try putting the following condition in place of LastModifiedDate

enter image description here

Related Topic