Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »


Editing and Deleting Events

To edit and delete events, perform the following steps in Canvas Studio.

  1. On the home page of Canvas Studio, click Events on the left navigation pane.


The List of Events page appears.

  1. To edit an event, perform a right-click on the event and select Edit Event option.


The Event page appears. You can edit the fields which you want to edit, but Event ID remains as a non-editable field.

  1. To delete an event, perform a right-click on the event and select Delete Event option.

  1. Click Delete on the bottom right side of the Event Creation page.


A confirmation message appears, indicating a successful deletion.

Raising Events

After an event is configured in Canvas Studio, a simple Java handler is necessary to trigger the event. Let's assume that the event is a login activity, so when the user logs in, the event has to be raised to send an alert and an audit. Once the login event is configured in Canvas Studio, the Java Handler triggers the event, thereby facilitating the means for receiving alerts. The following code snippet is a sample Java Handler to raise an event:
Event eventToBeRaised = Event.getEventFor(<EVENT_ID>);  HashMap eventData = new HashMap();  EventDispatcher.getInstance().raiseEvent(eventToBeRaised , eventData);

  • No labels