FlowOutputPayload

This class is returned by the flow to the sFiles applet when the flow is complete. It allows the flow to return

  • status, custom html for user interaction, and control the type of refresh to be performed.

Fields

global messageString

AURAENABLED

This is the message that is displayed in the status “toasts” that appear when the flow is complete.
If the messageType is set to “success”, “error” or “warning”, use plain text in this property.
If the messageType is set to “modal”, you can use plain text or html for this property.
If the messageType is set to “openUrl”, the full destination url can be used for this property.

global messageTypeString

AURAENABLED

Determines whether to displaya toast of type “success”, “error”, or “warning” or *
“modal” will provide a modal window that can display plain text or HTML
“openUrl” will open a new tab to the url specified in the message parameter.

global refreshString

AURAENABLED

Refresh type. Optional. If blank, no refresh will occur.
If “list”, the sfiles list will refresh.
If “component”, the entire sfiles component will refresh. This is sometimes needed if the flow made changes to the Salesforce record.
If “page”, the page will refresh. This is helpful if you want to force other components on the page to refresh.