Triggers
In workflow templates, a trigger is the occurrence of a specific event that initiates the workflow instance.
Each action in the contract has its own trigger type, according to the trigger type of the associated workflow template.

Several trigger types exist, each designed to initiate data transfer under specific events:
Time: the action starts at scheduled intervals or specific times, such as daily at 6 a.m.
OnDemand: the action starts through a direct REST API invocation.
Incoming transfer: the action starts when a file arrives.
Incoming update metadata: the action starts when a file metadata is modified through a REST API invocation.
New File: the action starts when the file is written on the VFS specified in the contract.
Outgoing transfer: the action starts when a file leaves Data Mover.
VirtualBox bind: the action starts when a virtual box is bound to a file.
VirtualBox unbind: the action starts when the virtual box is unbound from a file.
OnMessage: the actions execution starts when a JMS message arrives.
Each trigger type can have associated execution variables, which are added at runtime. For example, in the New File trigger, an execution variable named file
of type FileDetail
is added. Its attributes are set based on the information sent from the event that initiated the trigger.
Last updated