Answered

wait until <weekday>

Hi,

in one of our processes we need to "wait until next friday". How can this be resolved in Bizagi?

If I can identify the due date (the date of next friday) through an expression, I think I can handle the rest. But I couldn't find any Bizagi functions operating with weekdays.

Thanks

Comments (3)

photo
1

Dear Berit,

To understand much better your question, we´d like to know if you want to use it for a job like time event or alarm. Or you want to use it for a Rest Service.

We look forward to hearing from you

photo
1

Hi,

Hi,

I need to build the rule into the process flow. The process should wait (in a timer event) until next friday. In my attachment you can see how I have solved this by now. In the script task "set perform date" I have added an expression and calculated the date of the first friday using javascript functions.

This works fine but I wonder if there is a better and more intiutitive way to do this.

photo
1

Dear Berit,

Analysing this issue, we recommend two options:

  • Modify the none start event to timer start event and set it to start each friday.
  • Modify the process in order to be in a loop and always modify the date

In both cases, you case the function of Date of Bizagi. You can check the date and according of it, set the timer event.

For further information:

Best Regards