Download file sample flow

Summary

This example is an action that download a file after user verification.

Download file sample

Step: Start

Inputs

No configuration is needed.

Outputs

No configuration is needed.

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

Step: Execute verify user action

Inputs
Label Type Value Description

Action

entityAction

context.record

Outputs
Name Type Description

taskId

text

put in context == false

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

Step: Go to download view

Inputs
Label Type Value Description

Parameters

query

Outputs

No configuration is needed.

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

Step: Download file

Inputs
Label Type Value Description

File ID

text

myFileId

Outputs

No configuration is needed.

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

Step: Show execute verify user action error message

Inputs
Label Type Value Description

Target

choice

Caller

Title

text

Error executing verify user action

Message

text

An error occurred while execute verify user action, please try again.

Type

choice

Error

Keep visible

boolean

false

Outputs

No configuration is needed.

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

Step: Show download file error message

Inputs
Label Type Value Description

Target

choice

Caller

Title

text

Error downloading file

Message

text

An error occurred while downloading file, please try again.

Type

choice

Error

Keep visible

boolean

false

Outputs

No configuration is needed.

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

Step: End

Inputs
Label Type Value Description

Return result

boolean

If true it will return the final result of the flow.

Outputs

No configuration is needed.

Context
- record: Record
- oldRecord: Record
- action: Action
Back to top