YetiForceCompany / YetiForceCRM

Our team created for you one of the most innovative CRM systems that supports mainly business processes and allows for customization according to your needs. Be ahead of your competition and implement YetiForce!
https://yetiforce.com
Other
1.74k stars 749 forks source link

How to make workflow updating every 30 second #11367

Closed JohnMaverick closed 4 years ago

JohnMaverick commented 5 years ago

I see post below and have question: I have workflow Update related record. How to set yetiforce to trigger it every 30 seconds?

JohnMaverick commented 5 years ago

Why Last Scan times are very different than set frequency?

image

z0lo13 commented 5 years ago

@JohnMaverick, first of all, it is recommended 15 minutes for workflow 2nd, why do you need it to run every 30 seconds? by looking without logs I can say your task never finished

KatarzynaUlichnowska commented 4 years ago
  1. A workflow can be triggered even every 1 second, but only a developer should enable it as he understands the consequences of such action.
  2. The "Last scan time" may be different from the set frequency, it is due to the fact that there are two mechanisms, one in CRM and the other on the OS layer. If the frequency in the operating system will be set for every 15 minutes, then regardless of what you set in the CRM system [e.g. 5 min] won't trigger CRON earlier than after 15 minutes.