update document
This block is part of the storage
group and was last modified in core v13.0.9
.
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.
update document
v9.2.5
Update document in the given storage and creates a revision for it.
Pin | Pin | Type | Default |
---|---|---|---|
flow |
flow |
|
|
guid The documents GUID (unique ID) to update. |
value |
|
|
mutations Provide the mutations for this document. e.g. use set fields to set existing/update fields. |
mutations |
|
|
expiry When a document is given an expiry date, the document will be unrecoverably deleted on the given date |
date |
|
|
options Options can be given e.g. skip_revisions to skip create revisions for high-update docs or skip_on_saved to skip the on-events for this document update. |
object |
|
|
update priority A document update can be important for search relevance or not, by poviding the system a priority you can help it understand what updates are high priority (1) and what updates can be delayed without huge impact for search relevance (3). 1 is highest priority, 2 is medium priority, 3 is low priority and 0 is wait-for-insert. |
number |
1 |
|
Storage The storage this document is currently stored in. |
storage |
|
Pin | Pin | Type | Example |
---|---|---|---|
flow |
flow |
||
success |
condition |
||
guid |
value |
||
document |
object |
||
timestamp timestamp in ms, can be used to wait for the document to be available in search. |
number |
||
error |
value |
||
has changes Returns true if the document had any changes, as the block can return success for non-updated documents due to the happy flow. |
condition |
Core Releases
v9.2.5 This block was introduced inv9.2.5
, click here to see the release notes.
v13.0.9
This block was last modified in v13.0.9
, click here to see the release notes.
Back to
storage
Return to the main group to view all sub-groups
Back to storage
Return to the group to view all blocks within this group