7.2.1+ This action is available from formcycle version 7.2.1 onwards.
The action Decode Base64 allows you to decode a base64 string or a data URI to into a file.
CONTENTS
Parameters
Decoding settings
- Base64
- The base64 string or data URI to be decoded.
Storage options for the created files
- Export name
- Name of the output file. If no export name is supplied, a the default name content, with a predicted file extension is used.
- Attach file to form record
- If this option is selected, files created in this action will be attached to the form record. Otherwise, they are only available for other actions within the workflow processing in the same processing chain.
Action variables
Actions of type Decode Base64 provide Action variables which can be used in subsequent actions.
Standard action variables
- [%$<action name>.SUCCESS%]
- Return whether action was successfully executed. Returns Boolean (true/false).
- [%$<action name>.RESULT%]
- Return all results provided by the action in structured form.
- [%$<action name>.ERROR_CODE%]
- The error code thrown in case of an error in the action. Empty if no error occurred.
- [%$<action name>.ERROR_MESSAGE%]
- The thrown error message in the action's error case. Empty if no error occurred.
Action specific action variables
- [%$<action name>.RESULT.fileSize%]
- Size of the created file, in bytes.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article