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.

Delete company

Step: start

Inputs

No configuration required.

Outputs

No configuration required.

Context
- record: Record
- oldRecord: Record
- action: Action

Step: Delete company

Inputs
LabelTypeValue
Recordrecordcontext.record
Outputs
NameTypeDescription
deleteRecordrecordput in context == false
Context
- record: Record
- oldRecord: Record
- action: Action

Step: Show error message

Inputs
LabelTypeValue
TargetchoiceCaller
TitletextError deleting the company
MessagetextAn error occurred while deleting the company, please try again.
TypechoiceError
Keep visiblebooleanfalse
Outputs

No configuration required.

Context
- record: Record
- oldRecord: Record
- action: Action

Step: end

LabelTypeDescription
Return resultbooleanIf true it will return the final result of the flow.
Outputs

No configuration required.

Context
- record: Record
- oldRecord: Record
- action: Action