Question
· Sep 14, 2017

rule trigger

hi world, is there a possibility to programm a rule for trigg it every 48 HOURES?

thank's

Discussion (1)1
Log in or sign up to continue

If you are talking about somehow having a rule in message router get fired, or perhaps some trigger to "tickle" a business process class?

Look at the documentation regarding "Adapterless Service" and building custom tasks in the task scheduler.

In essence, you would create a custom request message in the OnTask() method of a custom scheduler class, populate it with whatever data you want and then passes it to an adapterless business service that would send it to one or more targets. The target could then act on that message accordingly.

 

It works really well when at odd schedules you can create a message that says "go check and do things" and the service passes it on, and other times the message sent can say something like "issue a report" all through the same mechanism. And the best thing is nothing is so custom as to be outside of the normal Ensemble messaging framework.