Skip to content

This how-to is for builders whose buttons need a little information first: Put on hold needs a reason and a date, Escalate needs the person to escalate to, Extend deadline needs the new date. The button opens a dialog, the person fills it in, and the automation uses the values.

The example adds a Put on hold button to a Requests entity. It asks for a reason and a date, writes both to the request, and tells the requester.

You need:

flowchart LR
  A["Button: Put on hold"] --> B["Dialog<br/>(fields from a view)"]
  B -->|"Send"| C["Custom Action reaction"]
  C --> D["Update Data Entry<br/>with the dialog's values"]
  C --> E["Send Notification"]

The dialog’s fields come from a view (or from fields you describe yourself). What the person enters is not saved anywhere by itself: the reaction’s actions decide what happens to it.

Step 1: Make the view that shapes the dialog

Section titled “Step 1: Make the view that shapes the dialog”
  1. On Requests, add the fields the dialog should end up filling — here Hold reason (text) and Hold until (date).
  2. Add a view for the dialog, for example Hold dialog. See Data views.
  3. In the view’s settings, turn on Editing entries.
  4. Turn on Ask user for, and in Choose fields pick Hold reason and Hold until. The list marks the fields that are required on the entity; they are required in the dialog too. See Design the forms.
  5. Publish the view.

The view’s styles and help text also apply to the dialog. See Style a view with custom CSS.

  1. On Requests, add a reaction Put on hold with the event Custom Action.
  2. Keep Custom action level at UI action — only UI actions can be attached to a button — and keep Contextual on, so it runs on the request.
  3. Turn on Ask User For.
  4. In Dialog Name, enter the dialog’s title, such as Put on hold.
  5. In Fields Source, choose View, then the entity Requests and the view Hold dialog. Only views that are published, allow editing, and have fields in Ask user for are offered.
  6. Optionally choose an Execution Indicator: Blocking (people wait, and see the On execution started and On execution succeeded messages), Inform (they see progress and can carry on), or None.

Inline Entity is the other Fields Source: you describe the dialog’s fields yourself, as JSON, in Entity. Use View unless you have a reason not to; it needs no JSON and is easier to change later.

  1. Add Update Data Entry on Self.
  2. For Hold reason, choose the value type Field. In the field list, open the group named after the dialog — Put on hold — and pick its Hold reason. Do not pick Hold reason under Requests: that is the value already on the record.
  3. Do the same for Hold until.
  4. Optionally set Status to On hold with Manual.
  1. Add Send Notification to the Requester field.
  2. Write the message with placeholders, for example Your request was put on hold until {{until}}: {{reason}}.
  3. Under Custom Variables, map each one with the type Field to the dialog’s field, as above. See Insert record values into messages.
  4. Save the reaction.
  1. On the Buttons tab, add a button Put on hold. In Action, under Custom Action, choose Put on hold. See Add a button.
  2. Choose the Scope: Single Entry, Multiple Entries, or both.
  3. Publish the button and show it in a view. See Show the button in a view.
  1. They select the button. If the button has a confirmation, it comes first. See Ask for confirmation first.
  2. The dialog opens, empty. It does not show the record’s current values.
  3. Send stays disabled until every required field is filled in.
  4. The action runs, with the indicator you chose.

With Multiple Entries, the dialog opens once, and the same values are used for every selected record.

Pass values without a dialog: Execute Custom Action

Section titled “Pass values without a dialog: Execute Custom Action”

A Local action or External action asks for Parameters instead of showing a dialog. Another reaction calls it with Execute Custom Action and fills each parameter the same way as a field in Update Data Entry. Parameters left unbound are passed empty. See Execute Custom Action.

  1. Open a test request and select Put on hold.
  2. Leave Hold reason empty: Send stays disabled. Fill both fields and send.
  3. The request shows the reason and the date, and the requester is notified.
  4. If the values did not arrive, check that each value is picked from the dialog’s group, then open the reaction’s run history. See Check that it ran.
ProblemWhat to check
The view is not offered in Fields SourceIt is not published, Editing entries is off, or Ask user for has no fields.
The button does not offer the custom actionIts Custom action level is not UI action.
No dialog appearsAsk User For is off in the custom action.
The record keeps its old valueThe action takes the value from the record’s own field, not from the dialog’s group.
The dialog does not show the current valuesIt always opens empty. To show a current value, put it in the button’s confirmation message.
Every selected record got the same valueThat is by design: one dialog serves every selected record. Use Single Entry if each needs its own.

Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27