RabbitMQ triggers

Learn to create RabbitMQ triggers

Last published at: February 5th, 2025

RabbitMQ triggers are similar to email triggers. Process instances are launched when events are published to the RabbitMQ event service bus.

You'll need to navigate to the Process - Triggers page. 

 

The Triggers page is rendered below, showing the Manage Email Triggers page by default. 

 

Select the Triggers menu to navigate to other triggers functions. 

 

Create a RabbitMQ Trigger. 

Select the Actions - Create menu option on the Manage RabbitMQ Triggers page. A popup window is rendered for configuration as below. Select the RabbitMQ event queue from the drop-down list. Provide a queue name. Select the process definition from the drop-down list. Select the variable/global reference to store the result. Click the checkbox to enable this RabbitMQ trigger to work. Click the Test button to verify the configuration. Click the Save button to create the trigger. A confirmation message shall be displayed in the top right-end corner.  Note: The FlowWright trigger service should run on the Windows services page.  

 

Edit a RabbitMQ trigger.

On the Manage RabbitMQ Triggers page, select a trigger from the table and click the Actions - Edit menu option. 

 

The trigger details are rendered in a popup window for modifications. After configuration changes, click the Update button. 

 

The trigger changes are updated, and a confirmation message is displayed in the top right-end corner. 

 

The configuration changes are visible in the Audit History Log.  

 

Enable/Disable RabbitMQ trigger.

On the Manage RabbitMQ Triggers page, select a trigger from the table and click the Actions - Enable/Disable menu option. 

 

The trigger is toggled as enabled or disabled. A confirmation message is displayed in the top right-end corner. 

 

Export the Trigger as XML.

On the RabbitMQ Triggers page, select a trigger from the table and click the Export—XML menu option. The XML is generated and downloaded to the local folder. Using the Import function, you may import this trigger configuration to the target FlowWright environment. 

 

The XML content is included here as an example. The trigger definition name is available in the script. 

 

Export the Trigger as SQL.

On the RabbitMQ Triggers page, select a trigger from the table and click the Export—SQL menu option. The SQL is generated and downloaded to the local folder. Using the SQL Server Management Studio, you may execute this SQL query to insert this trigger configuration into the target FlowWright database environment.

 

The SQL content is included here as an example. The trigger definition name is available in the script. 

 

Import the Trigger as XML.

On the RabbitMQ Triggers page, select a trigger from the table and click the Import—XML menu option. 

 

You must choose the XML from the local folder and click the Upload button. 

 

The XML configuration is imported and overwrites the trigger using the same definition name.  A confirmation message is displayed in the top right-end corner. 

 

Remove the Trigger.

On the RabbitMQ Triggers page, select a trigger from the table and click the Actions—Remove menu option. 

 

Click OK to confirm. 

 

The trigger is removed permanently, and a confirmation message is displayed in the top right-end corner. 

 

The configuration changes are visible in the Audit History Log.