Skip to content

FLOW_BypassTrigger.DTO_Request

Class

apex
global inherited sharing class FLOW_BypassTrigger.DTO_Request

Request DTO for the Trigger Bypass invocable action.

Since: 1.0


Fields

FieldDescription
global String actionThe action to perform.
global String bypassTypeThe type of bypass: either CLASS_NAME or OBJECT_NAME.
global String nameThe API name of the trigger action class or SObject.

Field Details

action

apex
@InvocableVariable(description='BYPASS, CLEAR, or CLEAR_ALL' label='Action') global String action

Type: String

The action to perform. Valid values:

BYPASS: Add to the bypass list (default)
CLEAR: Remove a specific item from the bypass list
CLEAR_ALL: Clear all items from the bypass list (name is ignored)

Since: 1.0

bypassType

apex
@InvocableVariable(description='Must be either "CLASS_NAME" or "OBJECT_NAME"' label='Bypass Type') global String bypassType

Type: String

The type of bypass: either CLASS_NAME or OBJECT_NAME.

Since: 1.0

name

apex
@InvocableVariable(required=true description='API Name of the trigger action class or SObject' label='Name') global String name

Type: String

The API name of the trigger action class or SObject. Required for BYPASS and CLEAR actions, ignored for CLEAR_ALL.

Since: 1.0