For the complete documentation index, see llms.txt. This page is also available as Markdown.

Form outcomes

You use form outcomes to complete a user task and allow the user to indicate the outcome, for example if a task is approved or rejected. Outcomes are displayed to the user as buttons in the task.

You can define one or more outcome buttons by selecting Outcomes in the attribute bar.

Field
Description

Label

The text of the button.

Value

A value that is assigned to the outcome variable.

Use simple text to define values. Do not use variables for this field.

Visible (Expression)

An expression that determines when the button becomes visible.

Enabled (Expression)

An expression that determines when the button becomes enabled.

By default, a primary button becomes enabled when all the mandatory form fields are completed.

Navigation URL

The URL where you are redirected after clicking the button.

Ignore payload

Ignores the form data and any validation and just sends the outcome value.

Ignore validation

Ignores the form validation and just sends the payload and outcome value.

Primary

The button replaces the default Submit button.

Outcome variables

Use the Outcome variable name to bind the value of a button to a process variable, for example myVariableName. By default, this variable is named form_<form_key>_outcome, where <form_key> is the model key of your form. You can then use the value to build conditions, for example ${vars:equals(form_myForm_outcome, "Approved")} or ${form_myForm_outcome == "Approved"}.

Last updated

Was this helpful?