Rules Engine: Make Advanced Scheduler more user friendly

  • 3
  • Idea
  • Updated 2 months ago
Having the ability to schedule rules to run more frequently is awesome.  Love that ability.

It would be great, though, for this to be more user friendly and intuitive.  Not everyone has experience with Cron, (I do from my linux admin days but my teammates don't).  Could a front end be put on this so that the end user doesn't have to understand/figure out the Cron format? 

I know in your documentation you do have a link to a cron expression builder...but would be great if the tool did this for you.

Bonus points for making Advanced Scheduler available on Rule Chains. (I think that idea is elsewhere in Community)
Photo of Jeff Kirkpatrick

Jeff Kirkpatrick, Champion

  • 24,354 Points 20k badge 2x thumb

Posted 3 months ago

  • 3
Photo of Jitin Mehndiratta

Jitin Mehndiratta, Product Manager

  • 3,026 Points 3k badge 2x thumb
Hi Jeff,

"adding a cron builder" within the product is not in our near term roadmap as your rightly mentioned there are many cron builders available all over the internet. One can form a cron expression using one of these sites on internet and use it for scheduling a rule via Advanced scheduler.

For advanced scheduler in rule chains, that is definitely on the roadmap. The frequency at which a rule chain can be triggered may not be the same as the 2 hour limit on rules to avoid overhead on the rules infrastructure. Timelines for this enhancement are yet to be decided. Thanks for bringing this up.

Regards,
Jitin
Photo of Jeff Kirkpatrick

Jeff Kirkpatrick, Champion

  • 24,354 Points 20k badge 2x thumb
What I'm saying is that CRON is not a very easy to understand or translate concept for everyone.  If after I have configured it using a cron builder, someone comes in behind me to try and decipher what schedule this is set up on 0 0 */2 ? * * is not easy to decipher without having to stop and consult documentation.  

Gainsight should strive to make everything more user friendly and intuitive.   It would be far simpler and efficient for admins to have fields that capture how many hours a day, which day(s) of the week, which day(s) of the month, etc.  rather than 0 0 */2 ? * *.
Photo of Jitin Mehndiratta

Jitin Mehndiratta, Product Manager

  • 3,026 Points 3k badge 2x thumb
got it. Thanks for clarifying. I agree that deciphering cron expression could be a painful task. and would be good especially if there are more than one admins who are managing rules. Something worth considering. 
Photo of Dan Ahrens

Dan Ahrens, Official Rep

  • 23,696 Points 20k badge 2x thumb
Hey Jeff, just a note on deciphering an existing cron expression, the second link in our support documentation is to a site that has both a cron builder and a cron "explainer" - basically you paste in the cron expression and it tells you what the schedule is.

https://www.freeformatter.com/cron-expression-generator-quartz.html

It also has a killer list of example cron expressions covering pretty much every type of expression you'd like to build. Something like 30 different examples. 

Which totally took me by surprise since the first link we have in our support doc takes you to a site that is not that comprehensive. 

My look when I explored the second link:


I bookmarked the site. :-)