Enable Automatic Case Transition with Apex Trigger

Developer Console

New Apex Trigger

  1. Extract the Representative_Exit_Survey_Trigger.trigger file from the middleware plugin download.
  2. Open the Developer Console from the Salesforce instance.
  3. Open the File > New > Apex Trigger menu.
  4. Enter Representative_Exit_Survey_Trigger for the trigger name, and then select BGIntegration__Representative_Exit_Survey_Response__c as the sObject.

The dropdown selection list is in alphabetical order.

  1. Open the extracted Representative_Exit_Survey_Trigger.trigger file in notepad.exe, copy the entire contents of the file, and paste the contents into the newly created Apex Trigger in the Developer Console.
  2. Read and follow the instructions at the top of the newly created trigger for custom configuration and the creation of a Customer Exit Survey Trigger (if required).
  3. Save the file.
  4. The new Apex Trigger automatically executes when new Remote Support Exit Surveys are added to any tickets with associated BeyondTrust Remote Support Sessions and transitions cases according to the configuration contained within the trigger.