- JSON representation
 - PlaybookType
 - PermissionAccessLevel
 - WorkflowInstanceStatusValue
 - ApiWorkflowStepCardDataModel
 - WorkflowStepCardType
 - ApiActionStatusEnum
 - ApiLoopMaxIterationsResponse
 
ApiWorkflowInstanceDataModel represents a workflow instance data model.
| JSON representation | 
|---|
{ "id": string, "identifier": string, "version": string, "name": string, "creator": string, "modifiedBy": string, "priority": integer, "description": string, "environments": [ string ], "categoryName": string, "categoryId": integer, "originalPlaybookIdentifier": string, "creationTimeUnixTimeInMs": string, "modificationTimeUnixTimeInMs": string, "trigger": { object (  | 
            
| Fields | |
|---|---|
id | 
              
                 
 Required. Id is the unique identifier of the workflow.  | 
            
identifier | 
              
                 
 Required. Identifier is the unique identifier of the workflow.  | 
            
version | 
              
                 
 Required. Version is the version of the workflow.  | 
            
name | 
              
                 
 Required. Name is the name of the workflow.  | 
            
creator | 
              
                 
 Required. Creator is the creator of the workflow.  | 
            
modifiedBy | 
              
                 
 Required. ModifiedBy is the user who last modified the workflow.  | 
            
priority | 
              
                 
 Required. Priority is the priority of the workflow.  | 
            
description | 
              
                 
 Optional. Description is the description of the workflow.  | 
            
environments[] | 
              
                 
 Optional. Environments is a list of environments the workflow is enabled on.  | 
            
categoryName | 
              
                 
 Optional. CategoryName is the name of the category.  | 
            
categoryId | 
              
                 
 Optional. CategoryId is the identifier of the category.  | 
            
originalPlaybookIdentifier | 
              
                 
 Required. OriginalPlaybookIdentifier is the identifier of the original playbook.  | 
            
creationTimeUnixTimeInMs | 
              
                 
 Required. CreationTimeUnixTimeInMs is the creation time of the workflow. Represents DateTime CreationTimeUnixTimeInMs as unix time  | 
            
modificationTimeUnixTimeInMs | 
              
                 
 Required. ModificationTimeUnixTimeInMs is the modification time of the workflow. Represents DateTime ModificationTimeUnixTimeInMs as unix time  | 
            
trigger | 
              
                 
 Required. Trigger is the trigger of the workflow.  | 
            
stepsRelations[] | 
              
                 
 Optional. StepsRelations is a list of step relations in the workflow.  | 
            
templateName | 
              
                 
 Optional. TemplateName is the name of the template.  | 
            
playbookType | 
              
                 
 Required. PlaybookType is the type of playbook.  | 
            
debugData | 
              
                 
 Optional. DebugData is the debug data for the workflow.  | 
            
entityAccessLevel | 
              
                 
 Required. EntityAccessLevel is the access level for entities.  | 
            
defaultAccessLevel | 
              
                 
 Required. DefaultAccessLevel is the default access level for the workflow.  | 
            
permissions[] | 
              
                 
 Optional. Permissions is a list of permissions for the workflow.  | 
            
overviewTemplates[] | 
              
                 
 Optional. LegacyPlaybookOverviewTemplates is a list of overview templates for the workflow.  | 
            
instanceId | 
              
                 
 Required. InstanceId is the unique identifier of the workflow instance.  | 
            
caseId | 
              
                 
 Required. CaseId is the identifier of the case.  | 
            
alertIdentifier | 
              
                 
 Optional. AlertIdentifier is the identifier of the alert.  | 
            
status | 
              
                 
 Required. Status is the status of the workflow instance.  | 
            
steps[] | 
              
                 
 Optional. Steps is a list of steps in the workflow instance.  | 
            
positionInQueue | 
              
                 
 Optional. PositionInQueue is the position of the workflow instance in the queue.  | 
            
runCount | 
              
                 
 Optional. RunCount is the number of times the workflow instance has been run.  | 
            
loopsMaxIterations[] | 
              
                 
 Optional. LoopsMaxIterations is a list of max iterations for loops in the workflow instance.  | 
            
allStepsFlattened[] | 
              
                 
 Optional. AllStepsFlattened is a list of all steps flattened in the workflow instance.  | 
            
isEnabled | 
              
                 
 Optional. IsEnabled indicates if the workflow is enabled.  | 
            
isDebugMode | 
              
                 
 Optional. IsDebugMode indicates if debug mode is enabled for the workflow.  | 
            
hasRestrictedEnvironments | 
              
                 
 Optional. HasRestrictedEnvironments indicates if the workflow has restricted environments.  | 
            
PlaybookType
Playbook types to filter the workflow menu cards by.
| Enums | |
|---|---|
PLAYBOOK_TYPE_UNSPECIFIED | 
                Unspecified playbook type. | 
REGULAR | 
                Regular playbook type. | 
NESTED | 
                Nested playbook type. | 
PermissionAccessLevel
PermissionAccessLevel is the access level of the permission.
| Enums | |
|---|---|
PERMISSION_ACCESS_LEVEL_UNSPECIFIED | 
                The access level is unspecified. | 
NO_ACCESS | 
                The access level is no access. | 
VIEW | 
                The access level is view. | 
EDIT | 
                The access level is edit. | 
EXECUTE | 
                The access level is execute. | 
WorkflowInstanceStatusValue
WorkflowInstanceStatusValue is the status of the workflow instance.
| Enums | |
|---|---|
WORKFLOW_INSTANCE_STATUS_VALUE_UNSPECIFIED | 
                The status of the workflow instance is unspecified. | 
IN_PROGRESS | 
                The workflow instance is in progress. | 
COMPLETED | 
                The workflow instance is completed. | 
FAILED | 
                The workflow instance is failed. | 
TERMINATED | 
                The workflow instance is terminated. | 
PENDING_IN_QUEUE | 
                The workflow instance is pending in the queue. | 
PENDING_FOR_USER | 
                The workflow instance is pending for the user. | 
ApiWorkflowStepCardDataModel
ApiWorkflowStepCardDataModel represents a workflow step card.
| JSON representation | 
|---|
{ "id": string, "creationTimeUnixTimeInMs": string, "modificationTimeUnixTimeInMs": string, "additionalProperties": { string: string, ... }, "identifier": string, "originalStepIdentifier": string, "blockId": string, "instanceName": string, "integration": string, "actionName": string, "type": enum (  | 
              
| Fields | |
|---|---|
id | 
                
                   
 Required. Id is the unique identifier of the data model object.  | 
              
creationTimeUnixTimeInMs | 
                
                   
 Required. CreationTimeUnixTimeInMs is the creation time of the data model object. Represents DateTime CreationTimeUnixTimeInMs as unix time  | 
              
modificationTimeUnixTimeInMs | 
                
                   
 Required. ModificationTimeUnixTimeInMs is the modification time of the data model object. Represents DateTime ModificationTimeUnixTimeInMs as unix time  | 
              
additionalProperties | 
                
                   
 Optional. AdditionalProperties is a map of additional properties for the data model object. An object containing a list of   | 
              
identifier | 
                
                   
 Required. Identifier is the unique identifier of the step.  | 
              
originalStepIdentifier | 
                
                   
 Required. OriginalStepIdentifier is the original identifier of the step.  | 
              
blockId | 
                
                   
 Optional. BlockId is the identifier of the block.  | 
              
instanceName | 
                
                   
 Required. InstanceName is the name of the instance.  | 
              
integration | 
                
                   
 Required. Integration is the integration of the step.  | 
              
actionName | 
                
                   
 Required. ActionName is the name of the action.  | 
              
type | 
                
                   
 Required. Type is the type of the step.  | 
              
status | 
                
                   
 Required. Status is the status of the action.  | 
              
workflowIdentifier | 
                
                   
 Required. WorkflowIdentifier is the identifier of the workflow.  | 
              
parameters[] | 
                
                   
 Optional. Parameters is a list of parameters for the step.  | 
              
parentStepIdentifiers[] | 
                
                   
 Optional. ParentStepIdentifiers is a list of parent step identifiers.  | 
              
previousResultConditions | 
                
                   
 Optional. PreviousResultConditions is a map of previous result conditions. An object containing a list of   | 
              
resultJsonObject | 
                
                   
 Optional. ResultJsonObject is the result json object of the step.  | 
              
description | 
                
                   
 Optional. Description is the description of the step.  | 
              
parallelActions[] | 
                
                   
 Optional. ParallelActions is a list of parallel actions for the step.  | 
              
parentStepContainerId | 
                
                   
 Optional. ParentStepContainerId is the identifier of the parent step container.  | 
              
loopIteration | 
                
                   
 Optional. LoopIteration is the current loop iteration.  | 
              
startLoopStepIdentifier | 
                
                   
 Optional. StartLoopStepIdentifier is the identifier of the start loop step.  | 
              
isTouchedByAi | 
                
                   
 Optional. IsTouchedByAi indicates if the step is touched by AI.  | 
              
loopName | 
                
                   
 Optional. LoopName is the name of the loop.  | 
              
isAutomatic | 
                
                   
 Optional. IsAutomatic indicates if the step is automatic.  | 
              
isDebugMockData | 
                
                   
 Optional. IsDebugMockData indicates if debug mock data is enabled for the step.  | 
              
WorkflowStepCardType
WorkflowStepCardType represents the type of a workflow step card.
| Enums | |
|---|---|
WORKFLOW_STEP_CARD_TYPE_UNSPECIFIED | 
                The workflow step card type is unspecified. | 
ACTION | 
                The workflow step card type is action. | 
MULTI_CHOICE_QUESTION | 
                The workflow step card type is multi choice question. | 
PREVIOUS_ACTION | 
                The workflow step card type is previous action. | 
CASE_DATA_CONDITION | 
                The workflow step card type is case data condition. | 
CONDITION | 
                The workflow step card type is condition. | 
BLOCK | 
                The workflow step card type is block. | 
OUTPUT | 
                The workflow step card type is output. | 
PARALLEL_ACTIONS_CONTAINER | 
                The workflow step card type is parallel actions container. | 
FOR_EACH_START_LOOP | 
                The workflow step card type is for each start loop. | 
FOR_EACH_END_LOOP | 
                The workflow step card type is for each end loop. | 
FOR_EACH_LOOP_CONTAINER | 
                The workflow step card type is for each loop container. | 
ApiActionStatusEnum
ApiActionStatusEnum represents the status of an action.
| Enums | |
|---|---|
API_ACTION_STATUS_ENUM_UNSPECIFIED | 
                The status is unspecified. | 
FAULTED | 
                The status is faulted. | 
IN_PROGRESS | 
                The status is in progress. | 
COMPLETED | 
                The status is completed. | 
PENDING_USER_INPUT | 
                The status is pending user input. | 
PENDING_PREVIOUS_STEPS | 
                The status is pending previous steps. | 
STARTED | 
                The status is started. | 
FAULTED_AND_SKIPPED | 
                The status is faulted and skipped. | 
HANDLED_TIMEDOUT | 
                The status is handled timed out. | 
UNHANDLED_TIMEDOUT | 
                The status is unhandled timed out. | 
TERMINATED | 
                The status is terminated. | 
NOT_RUN_AND_SKIPPED | 
                The status is not run and skipped. | 
PENDING_ACTION_TIMEOUT | 
                The status is pending action timeout. | 
PENDING_ACTION_TIMEOUT_AND_SKIPPED | 
                The status is pending action timeout and skipped. | 
NO_STATUS | 
                The status is no status. | 
PENDING_RETRY | 
                The status is pending retry. | 
ApiLoopMaxIterationsResponse
ApiLoopMaxIterationsResponse represents the max iterations for a loop.
| JSON representation | 
|---|
{ "startLoopStepIdentifier": string, "maxIterations": integer }  | 
              
| Fields | |
|---|---|
startLoopStepIdentifier | 
                
                   
 Required. StartLoopStepIdentifier is the identifier of the start loop step.  | 
              
maxIterations | 
                
                   
 Optional. MaxIterations is the max iterations for the loop.  |