Delete company
Delete company sample flow.
Summary
In this example, we showcase an action designed to delete a company. If the deletion process encounters an error, the action is configured to display an appropriate error message. This example highlights a straightforward but essential feature in managing and handling potential errors during company deletion operations.
Step: start
Inputs
No configuration required.
Outputs
No configuration required.
Context
- record: Record
- oldRecord: Record
- action: Action
- oldRecord: Record
- action: Action
Step: Delete company
Inputs
Label | Type | Value |
---|---|---|
Record | record | context.record |
Outputs
Name | Type | Description |
---|---|---|
deleteRecord | record | put in context == false |
Context
- record: Record
- oldRecord: Record
- action: Action
- oldRecord: Record
- action: Action
Step: Show error message
Inputs
Label | Type | Value |
---|---|---|
Target | choice | Caller |
Title | text | Error deleting the company |
Message | text | An error occurred while deleting the company, please try again. |
Type | choice | Error |
Keep visible | boolean | false |
Outputs
No configuration required.
Context
- record: Record
- oldRecord: Record
- action: Action
- oldRecord: Record
- action: Action
Step: end
Label | Type | Description |
---|---|---|
Return result | boolean | If true it will return the final result of the flow. |
Outputs
No configuration required.
Context
- record: Record
- oldRecord: Record
- action: Action
- oldRecord: Record
- action: Action