Skip to content

FLOW_CheckTriggerBypassed.DTO_Request

Class

apex
global inherited sharing class FLOW_CheckTriggerBypassed.DTO_Request

A DTO indicating what action has been bypassed

Example

apex
DTO_Request request = new DTO_Request();
request.name = 'Account';
request.bypassType = 'OBJECT_NAME';

Fields

FieldDescription
global String bypassTypeThe 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 nameThe 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 bypassType

Type: 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 name

Type: String

The API name of the trigger action class or SObject to check bypass status for.