Announcement

Collapse
No announcement yet.

Question about work schedules.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Question about work schedules.

    Hello, I have a small question regarding the programming of workflows and BPM. How can I restrict the sending of emails and the processing of workflows only on business days, for example, from Monday to Friday, from 08:00 to 19:00?

  • #2
    You can try and change the cron job execution time (Process Pending Flows) to something like below

    PHP Code:
    0 8-19 * * 1-
    Rabii
    Web Dev

    Comment


    • #3
      You can also utilize BPM that will check current date, if it's out of working time, then wait for the next day.

      You can also utilize working time calendar formula functions https://docs.espocrm.com/user-guide/...mula-functions to determine whether the time is working and calculate the next working time.

      Comment


      • #4
        Thank you for your responses. As a programming beginner, I'm looking for a preconfigured BPM model or workflow. For instance, if a ticket remains in the "new" status after every 6 hours, the BPM sends a reminder email. However, the issue is that if a ticket is opened on Friday at 3:00 PM, the reminder is sent at 9:00 PM and then at 3:00 AM. In reality, I want the reminder to be sent on Monday at 10:00 AM, respecting weekends and working hours.

        Comment

        Working...
        X