R
R
Roman2019-11-04 05:41:02
Bitrix24
Roman, 2019-11-04 05:41:02

Bitrix 24. How do you complete a business process during working hours?

A business process has been set up to automatically send a message to WhatsApp when filling out a form on the site.
Periodically requests fall at night. How to set up a time check so that the business process starts working, for example, at 10 am?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri Paimurzin, 2020-01-16
@rusellsystems

It is possible to make a loop in the business process with the condition to check the current time and the time the document was created, and until the time is greater than or equal to 10 and less than 20, for example, there will be no continuation, although it can affect overall performance if there are many orders.
Another option is to set up the launch of business processes from a php script on the server, for example, and disable autorun in the interface and then register this script in the cron on the server with a certain launch interval, for example, check new leads every 10 minutes and check the time, and if the time is more or equal to 10 or less or equal to 20 then run business processes.
Perhaps there are more options

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question