SKYVVA Trigger generation app is used to generate a script of trigger automatically. Here you can generate the invokeCallout2() call into the trigger so that the developer doesn’t need to write code. The code can copy from our generation screen and paste to the trigger implementation. The developer can copy the script and customize the trigger. We provide 3 types of Trigger for you to generate the sample script. It can generate 3 kinds of scripts: Trigger Button, Trigger Apex, trigger Change Event, and Quick Action.
Trigger Type |
Description |
Button | Use to generate script then you can copy and paste in custom button-through execute javascript. This button will call SKYVVA Service. |
Apex Trigger | Use to generate script and invoke apex. |
Change Event Trigger | Use to generate the script to Send Salesforce CDC Change Event to the receiver. |
Quick Action | Quick Action button and Button are the same, but Button isn’t supported with Skyvva classic. We use the Quick Action button for support with Skyvva lightning. |
#
Generate Script Trigger Button #
To generate the script to use with the custom button you can follow the steps below:
- Click the SKYVVA Trigger among other SKYVVA Integration Cloud
- Then select the Trigger Type “BUTTON”
- You can select the Integration Name and Interface Name (show only outbound interface)
- sObject Name also have to select
- Choose Trigger Mode: Sync,Future,Batch
- Click button “Generate Script”
- Now you will see the script trigger button in the box and can copy to use it
Generate Script Trigger Apex:- #
- Select Trigger Type “APEX TRIGGER”
- Tick Trigger Event (can tick more than one)
- Select your Integration Name
- Select your Interface Name (show only outbound interface)
- Select SObject Name
- Select Trigger Mode : None,Auto,Future,Batch
- Click button “Generate Script”
- Now you will see the script apex trigger in the box and can copy to use it
- In the script, change to your own name <trigger name> to your own name
Generate Script Trigger Change Event #
Change Event Trigger is another picklist value created to generate the script (trigger code) to use with SKYVVA invokeCallout() method for Salesforce CDC.
- Select Trigger Type “Change Event Trigger”.
- Select your Integration Name
- Select your Interface Name (show only outbound interface)
- Select SObject Name.
- Select Operation change type.
- Select Trigger Mode: NONE, FUTURE, BATCH, AUTO
- Click button “Generate Script”.
- Now you will see the script Change Event in the box and can copy to use it.
Generate Script Quick Action Button #
Due to lightning version does not support with custom button, So we need to implement our tool to generate a script of the lightning component to use with quick action instead of the button.
- Select the Trigger Type “QUICK ACTION”
- Select your Integration Name
- Select your Interface Name (show only outbound interface)
- Select SObject Name
- Select Trigger Mode: SYNC, FUTURE, BATCH, AUTO
- Click button “Generate Script”
- Now you will see the script trigger button in the box and can copy to use it