Skip to content

Pattern: Trigger Process

Another of the most simple designs with one process in Anymate. Triggers are used when the script doesnt need specific task data to work - usually because it find its own data and decide what to do with it, or because it is purely reactive for instance if it closes all open orders every night.

You can add Rules to trigger processes. Business can change these at will.

When scheduled, the process runs, unless the users have blocked it either through the Calendar or by Stop Process.

Design Pattern

When to use

  • When the process does not rely on tasks and keys to start
  • When a script has to run for instance 'every work day'
  • When the script is simply reacting

Run example

The process will run according to your schedule. If the user has blocked the process, the run will not be executed.

Design Pattern run

Frontend to the user

To the user this pattern will look like this.

Design Pattern run

  • Rules to edit the business rules of the process
  • Description to keep documentation
  • Calendar to decide which days should be blocked

Behind the scenes we log data to display Analysis, Reports, Insights and KPIs, these are used in the other features of Anymate.