Triggers
Trigger is a key feature that automatically starts a workflow when a defined event happens. It enables you to automate a complex business process without having to manually run the workflow every time.
To configure a trigger, you define the event that initiates the workflow. When an event occurs in Service A, perform an action in Service B, and optionally pass data to Services C, D, and E. In this case, the event in Service A acts as the trigger. By specifying this condition, you instruct webMethods Integration to continuously monitor the source and execute the workflow automatically when the event is detected.
For example, consider a workflow that triggers when a new list is created in Wunderlist, converts the list title into Spanish, and sends the translated text to a specified email address. The trigger in this case is the creation of a new list in Wunderlist. webMethods Integration continuously monitors your Wunderlist account for updates, and when a new list is detected, it extracts the title, translates it into Spanish, and sends the translated text to the designated email address automatically.
Types of triggers
webMethods Integration provides different types of triggers to accommodate varying integration requirements and system constraints.
All triggers do not keep constantly checking for updates or changes in these external services. Some check for changes periodically, at regular intervals (for example, every 15 minutes). This type of trigger is called Polling Trigger. Polling triggers might not send data to webMethods Integration in real time. All the polling triggers are marked with Clock sign in the triggers list. While configuring a polling trigger, you can select the interval after which the trigger checks the application for new data using the Polling interval field. The default polling interval is 15 minutes.
Some triggers check for updates continuously. They send data to webMethods Integration in real-time, which enables your workflow to run when the specified event occurs in an external application or service. This type of trigger is called Webhook Trigger.