Hi
@Sanaa Fallah!
In this case, the idea is to have and "exit time" for your processes. For example if your working day begins at 09:00 and ends at 18:00 you can put this schedule this enter and exits time.
Considers this Environment Variable

Used in this circular path

(The decision stage has this formula:
[Outage Time]>=LocalTime())
As you can see, the decision stage evaluate when the localtime is lower than the outage time that you defined. When you reach this time, the process will finish.
I hope this clarifies your questions. Remember mark as best answer if this helps you
🙂See you in the community, bye
🙂------------------------------
Pablo Sarabia
Architect
Altamira Assets Management
Madrid
634726270
------------------------------