Need to hold a process flow automatically when its dependent is on execution

Discussion created by Karim_Azzouzi_8427 on Nov 29, 2016
Latest reply on Dec 7, 2016 by RonCollins612194

I am having two process flow's say PF1 and PF2.
PF1 is scheduled to execute every 5 minutes once from 1:00 to 23:00.
PF2 is scheduled to execute every 1 hour once from 10:00 to 22:00
So at 10:00, the PF1 has to wait until the completion of PF2.
Likewise at 11:00 the PF1 has to wait for the completion of PF2.
How can we achieve this configuration setup?

Let's say PF is the Main workflow ,inside you got PF1 and PF2,
You can create the process in PF like that :
PF inlcude :
PF2 -> PF1->PF
if condition respected on PF2 mote to PF1 if the condition is respected in PF1 move to PF2 ..
you can use postconditions to check with ended_ok status