page_title | subcategory | description |
---|---|---|
epilot-workflow_workflow_definition Resource - terraform-provider-epilot-workflow |
WorkflowDefinition Resource |
WorkflowDefinition Resource
resource "epilot-workflow_workflow_definition" "my_workflowdefinition" {
assigned_to = [
"..."
]
closing_reasons = [
{
id = "x739cew"
}
]
creation_time = "2021-04-27T12:01:13.000Z"
description = "...my_description..."
due_date = "2021-04-27T12:00:00.000Z"
dynamic_due_date = {
action_type_condition = "PHASE_FINISHED"
number_of_units = 0.36
phase_id = "...my_phase_id..."
step_id = "...my_step_id..."
time_period = "days"
}
enable_ecp_workflow = false
enabled = false
flow = "{ \"see\": \"documentation\" }"
id = "...my_id..."
last_update_time = "2021-04-27T12:01:13.000Z"
name = "...my_name..."
taxonomies = [
"..."
]
update_entity_attributes = [
{
source = "current_step"
target = {
entity_attribute = "my_status"
entity_schema = "opportunity"
}
}
]
user_ids = [
5.93
]
}
flow
(String) Parsed as JSON.name
(String)
assigned_to
(List of String)closing_reasons
(Attributes List) (see below for nested schema)creation_time
(String) ISO String Date & Timedescription
(String)due_date
(String)dynamic_due_date
(Attributes) set a Duedate for a step then a specific (see below for nested schema)enable_ecp_workflow
(Boolean) Indicates whether this workflow is available for End Customer Portal or not. By default it's not.enabled
(Boolean) Whether the workflow is enabled or not. Default: truelast_update_time
(String) ISO String Date & Timetaxonomies
(List of String) Taxonomy ids that are associated with this workflow and used for filteringupdate_entity_attributes
(Attributes List) (see below for nested schema)user_ids
(List of Number) This field is deprecated. Please use assignedTo
id
(String) The ID of this resource.
Optional:
id
(String) Not Null
Optional:
action_type_condition
(String) Not Null; must be one of ["WORKFLOW_STARTED", "STEP_CLOSED", "PHASE_FINISHED"]number_of_units
(Number) Not Nullphase_id
(String)step_id
(String)time_period
(String) Not Null; must be one of ["minutes", "hours", "days", "weeks", "months"]
Optional:
source
(String) Not Null; must be one of ["workflow_status", "current_section", "current_step"]target
(Attributes) Not Null (see below for nested schema)
Optional:
entity_attribute
(String) Not Nullentity_schema
(String) Not Null
Import is supported using the following syntax:
terraform import epilot-workflow_workflow_definition.my_epilot-workflow_workflow_definition ""