highbond_event (Resource)
Schema
Required
admin_name | String | The name of the event. This field is case-insensitive unique |
position | Number | Each event is shown as a button in UI; this attribute determines the order of the button displayed among other events for statuses |
type | String | Configures the type of the event. It controls the appearance of interactable UI element for this event. Possible Enum values: buttton, overflow, hidden |
Optional
description | String | The description of the event | |||||||||||||||||||||||||||
display_name | String | The display name of the event | |||||||||||||||||||||||||||
force_updates | Boolean | Allows overriding top-level 'create_only' option. | |||||||||||||||||||||||||||
handlers | Block List | List of handlers | |||||||||||||||||||||||||||
Nested Schema for `handlers`Required
Optional
| |||||||||||||||||||||||||||||
id | String | The ID of this resource. | |||||||||||||||||||||||||||
invocation_context | Block Set | The context information to invoke the event | |||||||||||||||||||||||||||
Nested Schema for `invocation_context`Optional
| |||||||||||||||||||||||||||||
shared | Boolean | Events can be marked as shared. Only shared events can be reused across multiple workflows | |||||||||||||||||||||||||||
triggers | Block List | List of triggers | |||||||||||||||||||||||||||
Nested Schema for `triggers`Required
Optional
|
Read-Only
created_at | String | The date the event was created |
updated_at | String | The date the event was updated |
Example Usage
resource "highbond_event" "main" {
admin_name = "VRM: submit request review"
display_name = "Submit request for review"
description = "Description of the event."
type = "button"
position = 1
shared = false
force_updates = true // Create only with force update changes
handlers {
id = highbond_handler.main.id
scopes = ["self"]
position = 1
}
triggers {
type = "questionnaireResponded"
questionnaire_ids = [highbond_questionnaire.main.id]
trigger_conjunction = "anyOf"
}
triggers {
type = "fieldUpdated"
field_names = [highbond_attribute_type.text.field_name]
trigger_conjunction = "anyOf"
}
}