Download file

Download file sample flow.

Summary

In this example, we showcase an action designed to delete a company.

Download file sample flow

Step: start

Inputs

No configuration required.

Outputs

No configuration required.

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

Step: Execute verify user action

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

Step: Go to download view

Inputs
LabelType
Parametersquery
Outputs

No configuration required.

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

Step: Download file

Inputs
LabelTypeValue
File IdtextmyFileId
Outputs

No configuration required.

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

Step: Show execute verify user action error message

Inputs
LabelTypeValue
Targetchoicecaller
TitletextError executing verify user action
MessagetextAn error occurred while execute verify user action, please try again.
TypechoiceError
Keep visiblebooleanfalse
Outputs

No configuration required.

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

Step: Show download file error message

Inputs
LabelTypeValue
Targetchoicecaller
TitletextError downloading file
MessagetextAn error occurred while execute verify user action, 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