Create, Publish, and Subscribe to Events in a Project
You can create events that you publish and subscribe to in integrations in a project.
The process you follow to create, publish, and subscribe to an event in a project is the same as outside of a project. The event to which to subscribe can be in the same project or in a different project. The following steps provide an overview of the process and cross-reference other sections of this guide for more specific procedures.
- In the navigation pane, click Projects.
- Click the project name or click
.
- Scroll down to the Events section at the bottom.
- In the Events section, click + to
create an event.
The Define new event panel opens.
- Create the event payload structure. You can also select to share the event with other projects. See Step 3 in Create Events to Publish and Subscribe to in Integrations.
-
After you create events, you can view and perform additional actions in the Events section of the projects.
- Click Actions
to access a menu with the following options:
Option Description Clone Enables you to clone the event. Edit Enables you to edit the event payload structure. Delete Enables you to delete an event. You cannot delete an active event. View Enables you to view the event payload structure, the integrations publishing the event, and the integrations subscribing to the event. - Go to the Integrations section of the project.
- Create an application or schedule integration to publish the event. During integration design, you drag a Publish event action into the integration canvas and select the event to publish. See Publish Events in an Integration. The event can be in the same project or in a different project. See Share Events Across Projects.
- Return to the Integrations section of the project.
- Create an event integration to subscribe to the event. You must
select an Event integration pattern. During integration
design, you select the event to which to subscribe. The event can be in the same
project or in a different project. See Subscribe to Events in an Integration and Share Events Across Projects.
The subscribing integration event is triggered when the integration publishing the event is run. Multiple integrations can subscribe to the same published event.