Skip to main content
I have a special rule that I have built to fire a CTA whenever a certain event takes place in SFDC.





I want to be able to run this repeatedly though out the day, and have my Success Operations team react when these items are created.





In looking at the Advanced Scheduler it looks like I can only schedule this every two hours, which is fine.  I am just curious if this is correct?





CRON Expression for two hours is : 0 0 0/2 1/1 * ? * and that will work.





If I make the CRON expression every 15 minutes like this: 0 0/15 * 1/1 * ? * it says too short a Duration.





Is two hours my limit for how short of a frequency I can schedule things?
Hey Bill!





Yes, at the current time, two hours is the most frequent setting for running a rule. There are technical reasons for this, but as tech changes, this frequency will likely as well.





Thanks!





Tim
Hi Bill,





Following is the description for the Cron expression.


 


0 0 0/2 1/1 * ? *    At second :00, at minute :00, every 2 hours starting at 00am, every day starting on the 1st, every month





0 0 0/2 ? * * *       At second :00, at minute :00, every 2 hours starting at 00am, of every day.





Using Advanced schedule type enables you to run the rules as frequently as every two hours. Please refer this article.
Hi Bill - ask and ye shall receive!





In the May 2018 release we added the ability to trigger a rule using the events framework, which essentially is near real time. The events framework is continually listening for new events and whenever one of those events takes place, the rule will be triggered. 





Check out this link for more info: https://support.gainsight.com/Release_Notes/Recent_Release_Notes_by_Theme/Catch-up_on_Rules_Engine_E...
Hi Bill,





Just curious to know what is the exact use case for running the rule every 15 minutes. Can you give some more details about it?





Regards,


Jitin
Hi - is this still the case? Anyway to immediately trigger a SF <> GS sync when an Account becomes a customer? We'd like to use GS for onboarding, but we can't wait for two hours to send a customer a welcome email.




Hi Bobby,





2 hours is the most frequent cadence for our batch rule scheduling but in the past year we introduced event based rule triggering that is essentially "near real time". https://support.gainsight.com/Rules_Engine/Admin_Guides/Scheduling_Rules#Events





The Gainsight events framework is an API listener that can trigger a rule or Journey Orchestrator program when an API event is sent to it. In your specific example, you'd have to create a trigger in SFDC that would create the API call and send it to Gainsight's events listener. More info here: https://support.gainsight.com/Administration_and_Permissions/General_Administration/Events_Framework_Overview




Reply