attach to document

This block is part of the files group and was last modified in core v12.0.4.

Deprecated This block has been deprecated since v12.0.4, please avoid future use.

Storage Selection Required

This block relies on a storage to perform its storage releated actions. You must manually select the storage you want to use in your flow using the storage selector modal. To access the modal, click the white button on the block.

Field Selection Required

This block relies on a field that you select to perform its data actions. You must manually select the field you want to use in your flow using the field selector modal. To access the modal, click the white button on the block.

attach to document Deprecated since v12.0.4 v12.0.4

In pins 4 + flow
  • flow
  • file file required

    the file to add into the selected field

  • guid value required

    _meta.guid of the document to add this file to.

  • storage storage required

    storage this document is located in

  • Filepath value v10.4.28

    Defines an alternate filepath to be used. By default the file will be saved under /storage/code/file or /storage/guid/file. Should not include the filename

Out pins 2 + flow
  • flow
  • success condition

    state of the execution, false may indicate this document was not found

  • error value v11.5.15

    shows some information about the error if success is false

Version history

Introduced in v12.0.4.

Deprecated since v12.0.4.

v11.5.15 This block or one of its pins was updated in v11.5.15, click here to see the release notes. v10.4.28 This block or one of its pins was updated in v10.4.28, click here to see the release notes. v10.0.18 This block or one of its pins was updated in v10.0.18, click here to see the release notes.
Back to files Return to the main group to view all sub-groups Back to file Return to the group to view all blocks within this group