FLOW_CheckTriggerBypassed.DTO_Request
Class
apex
global inherited sharing class FLOW_CheckTriggerBypassed.DTO_RequestA DTO indicating what action has been bypassed
Example
apex
DTO_Request request = new DTO_Request();
request.name = 'Account';
request.bypassType = 'OBJECT_NAME';Fields
| Field | Description |
|---|---|
| global String bypassType | The type of bypass to check: Class (stored as CLASS_NAME) checks one trigger action class; Object (stored as OBJECT_NAME) checks an object-wide bypass. |
| global String name | The API name of the trigger action class or SObject to check bypass status for. |
bypassType
apex
@InvocableVariable(description='Pick Class to check a trigger action class bypass, or Object to check an object-wide bypass. Stored values are CLASS_NAME and OBJECT_NAME; the field shows the stored value.' label='Bypass Type' placeholderText='OBJECT_NAME' defaultValue='OBJECT_NAME') global String bypassTypeType: String
The type of bypass to check: Class (stored as CLASS_NAME) checks one trigger action class; Object (stored as OBJECT_NAME) checks an object-wide bypass.
name
apex
@InvocableVariable(required=true description='API name of the trigger action class or SObject to check' label='Item Name') global String nameType: String
The API name of the trigger action class or SObject to check bypass status for.