Can anyone help me to create a process model which runs everyday if the month is jan or apr or jul or oct with the timer. Thanks
Discussion posts and replies are publicly visible
On your Start Node, configure a timer under Triggers that runs daily. At the bottom of the Timer Event you can configure a Timer Condition as:
contains( {1,4,7,10}, month(today()) )
This will only start your process if the month is 1 (Jan), 4 (Apr), 7 (July) or 10 (Oct).
thank you so much, will it run automatically or i need to start the instance once.. please confirm
i added the timer condition as mentioned above, contains( {1,4,6,10}, month(today())) just to test included 6 instead of 7. But though i gave the time as 9.45, it is still running now. Could you please guide me to solve this issue. Thank you so much for your help in advance.
Hi, yes the process model will run once when you publish, then it will run again per the timer conditions. The Delay for 0 Minutes will cause it to run immediately. If you wait until tomorrow at 09:45, you will see it start again. If you re-publish with a month of 7 instead, it should not run immediately or until 7/1 @ 09:45.
Additionally, I always use another timer condition with a constant specific to the scheduled process, such as a boolean cons!PM_RUN. With this configured as another condition, you can set the constant to false() prior to publishing the model, then change it back to true() afterwards, to avoid the immediate run and maintain the schedule.
sure, thank you...for the Boolean cons!PM_RUN, could you please give me some example, i'm so new and couldn't catch as swift...