#### {{getTitle()}}

@if (object?.id) { ID: {{object.id}} }

##

Trigger Workflow On:

@for (trigger of object?.triggers; track trigger; let i = $index){
}

##

Apply Actions:

@for (action of object?.actions; track action; let i = $index){
}
@if (formGroup.get('type').value === WorkflowTriggerType.Scheduled) {

Set scheduled trigger offset and which date field to use.

@if (formGroup.get('schedule_date_field').value === 'custom_field') {
}
@if (formGroup.get('schedule_is_recurring').value === true) { }
}

Trigger for documents that match all filters specified below.

@if (formGroup.get('type').value === WorkflowTriggerType.Consumption) { } @if (formGroup.get('type').value === WorkflowTriggerType.DocumentAdded || formGroup.get('type').value === WorkflowTriggerType.DocumentUpdated || formGroup.get('type').value === WorkflowTriggerType.Scheduled) { @if (patternRequired) { } @if (patternRequired) { } }
@if (formGroup.get('type').value === WorkflowTriggerType.DocumentAdded || formGroup.get('type').value === WorkflowTriggerType.DocumentUpdated || formGroup.get('type').value === WorkflowTriggerType.Scheduled) {
}
@switch(formGroup.get('type').value) { @case (WorkflowActionType.Assignment) {
Assign view permissions
Users:
Groups:
Assign edit permissions
Users:
Groups:
Edit permissions also grant viewing permissions
} @case (WorkflowActionType.Removal) {

###### Remove tags

###### Remove correspondents

###### Remove document types

###### Remove storage paths

###### Remove custom fields

###### Remove owners

###### Remove permissions

View permissions
Users:
Groups:
Edit permissions
Users:
Groups:
Edit permissions also grant viewing permissions
} @case (WorkflowActionType.Email) {
} @case (WorkflowActionType.Webhook) {
@if (formGroup.get('webhook').value['use_params']) { } @else { }
} }