Skip to end of banner
Go to start of banner

Listeners Basic Configurations

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

« Previous Version 5 Next »

The SIL Listener enables users to execute a script when certain events are triggered.

Managing Listeners

To manage SIL listeners, go to Administration → Manage Apps → Power Apps Config → Advanced → Listeners.

Columns Description

Column

Description

Listener

Full path to the file. Click to access the file in the SIL Manager

User

If no user is specified, it will run as the caller (the user that generated that event). You can always specify a user to run the script with

Events

The list of events the listener responds to. You may configure multiple events on the same script

Execution

Indicates whether the execution is synchronous or asynchronous as well as if the listener is enabled or not

Operations

Edit and Delete buttons.

Adding a Listener

Each entry for the SIL Listener represents a script that will run for an event. When you add a SIL Listener, you need to define the following properties:

  • SIL Script - the script to run when the event is received. Required field.

  • Events - event to react to. Required field.

  • Run As - Jira user to impersonate when running the script. If left empty, the script will be run by the currently logged in user. This setting might be necessary if certain scripts require more extensive permissions than those of regular users.

  • Enabled - the field that controls if the listener is executing or not

  • Asynchronous - If not selected, it's a normal listener, otherwise it will be scheduled for execution on a separate thread.

  • Projects and Issue type filter (only for issue-related events). If anything is configured here, the events will be filtered accordingly (scripts will be executed only for events matching that filter).

Pressing the “Add“ button will create the listener.

Notes

  • You can add multiple listener entries for the same event. The order of execution may be imposed only for synchronous listeners. However, this is not a recommended practice

  • You can map multiple events to the same listener.

Updating a Listener

To update a listener, click the Edit icon in the Operations column on the SIL Listeners page and update the fields in the pop-up window.

Deleting a Listener

To remove a SIL Listener, click Delete icon in the Operations column on the SIL Listeners page.

Enabling and Disabling a Listener

  1. To enable/disable a listener, click the Edit icon in the operations column.

  2. Uncheck the Enabled setting from the edit screen.

  3. Click Save

If a listener is disabled, a corresponding label appears under execution.


  • No labels