Skip to main content

Collection actions- Update fields

Update fields on the current Yeeflow collection item, set a condition and confirmation prompt, and verify what changed.

Add an Update fields step when a button in a Yeeflow collection should set specific values on its current record. For example, add a Start task button that changes a pending task's status to In progress.


Key Components

  1. In the designer, open Content → Collection actions on the collection control and add a step of type Update fields. In Content → Actions on a button or container inside the collection, select the collection action to bind it. Collection actions

  2. Use Execution Condition to control whether the step runs for the current item. For example, require its Status to be Pending. Execution Condition of actions

  3. Under Select fields, open Field Settings. Check each field you want to change and set its new Value. For example, check only Status and set it to In progress. Use the expression editor in Value if the new value depends on another field.

  4. If users should review the change before applying it, enable Confirm before execution. Describe what will change in the message and set the confirm and cancel button labels.

Yeeflow Update fields step with the Pending status condition, Field Settings, and Confirm before execution.


When to Use the Update Fields Action

Use this step when the action already knows the values to write. When users need to enter their own changes, open the record in an edit form. Collection actions - Edit item

Preview the action with a pending test task and a task that fails the condition. Reopen both records after the test and confirm that the selected pending task has the new status and the other task kept its original values. If you require confirmation, test Cancel on a pending task and check that its status remains Pending.

Did this answer your question?