Trigger Execution

During Trigger execution, the following data will be passed to the functions associated with the trigger.

ParameterDescription
scopeIdDesk Org Id of portal in which the extension is installed. 
serviceAppIdInstallation Id of the extension from Desk
appUuidExtension UUID
versionExtension Version
appNameExtension Name
appConfigThe appConfig Data will be passed to the DRE function during execution
serviceDataThe service Data will be passed to the DRE function during execution. The data passed for each event will be discussed below.

Service Data for events

ParameterDescription
extension_upgradedThis have param "from_version" which specifies the version from which the extension is upgraded from.
extension_updatedThis have params such as "operation_type" and "operation_value" which explain the type of operation that triggered the event
extension_installedthe service data will be empty for this event
extension_installedthe service data will be empty for this event
extension_uninstalledthe service data will be empty for this event
extension_enabledthe service data will be empty for this event
extension_disabledthe service data will be empty for this event

Trigger Logs in Sigma

You can check the execution logs of triggers associated with the extensions in sigma, by following the below steps: 

  1. Go to Sigma website > Executions tab.
  2. Select service as Zoho Desk to view all the execution logs of triggers associated with the desk extensions.

By default, all the executed logs will be listed including both success and failed executions, whereas the error info will be shown for failed executions alone. Also, you can filter the logs based on your extensions using the Extension drop-down at the top of the page.