Task Forms: Collect Structured Input Inside a Human Task

WorkflowsWorkflow designers and task assignees8 min read
What you’ll learnHow to turn a Task node into a form, use Allowed Actions as the form buttons, route each response, and use the collected values in later workflow steps.

What it is

A Task Form combines structured data collection and a human decision in one Task node. The assignee opens the task, completes the fields, and selects an Allowed Action such as Approve, Request changes, or Escalate. That action validates and submits the form, records the decision, and chooses the outgoing workflow route.

There is no separate Submit button. The Allowed Actions are the form's buttons.

Task Forms are different from a Manual Start form:

Manual Start form Task Form
Collects information when a workflow begins. Collects information while a workflow is already running.
Starts a new workflow instance. Completes a pending human task and continues the same instance.
Uses its own start/run action. Uses the Task node's Allowed Actions as submit-and-route buttons.

Why it's useful

  • One complete hand-off — the assignee provides the values, files, comment, and decision on the same task screen.
  • Structured workflow data — later Email, Documents, Report, AI Agent, and routing steps can use the submitted values by their field names.
  • Action-based routing — every button can lead to a different branch without adding an artificial Submit step.
  • Consistent internal and external work — the same form schema is used on the signed-in Workflow Task Manager and on a valid external task link.
  • Traceable results — the selected action and form values stay attached to the task result and workflow instance.
  • AI-assisted design — AI Builder understands Task Forms and can propose fields, actions, and branches from a plain-language description.

Before you start

  • Open the workflow in Flow Builder Edit mode.
  • Add or select a Task node.
  • Decide who will receive the task and which business outcomes it needs.
  • Decide which values later nodes must use. These values determine the stable Variable name for each field.

Configure a Task Form

1. Select the Form category

  1. Double-click the Task node to open Task Properties.
  2. Complete the required settings on Basic Info, including the task title and assignee.
  3. Open the Form tab.
  4. Set Task category to Form.

The panel now shows Task form fields. If you later switch the category away from Form, RAPTIX asks for confirmation before removing the configured fields.

2. Add fields

  1. Select Add field.
  2. Enter a Variable name. This is the stable output name used by later nodes.
  3. Enter the Label shown to user.
  4. Choose the Field type.
  5. Open More options when you need help text, a placeholder, a default, choices, or document metadata.

Supported field types:

Field type Use it for
Text Names, references, notes, explanations, and other text.
Number Amounts, counts, scores, and other numeric values.
Date A calendar date.
Select / dropdown One choice from a controlled list.
Checkbox A true/false confirmation. A required checkbox must be selected.
Checkbox group One or more choices from a controlled list.
File upload A file uploaded securely into the workflow record.

For a dropdown or checkbox group, add at least one option. Enter one option per line. Use Label|value when the user-facing label and stored value should differ:

Low risk|low
Needs review|review
High risk|high

3. Configure field behaviour

Each field can use the following settings:

Setting Behaviour
Help text Explains what the assignee should provide.
Placeholder Shows an example or short hint where the field type supports it.
Default value Supplies an initial value. Hidden non-file fields always use their default value.
Show in form Shows the field to the assignee. Turn it off to pass a hidden default into the task result.
Required Blocks every Allowed Action until the visible field has a valid value.
Order Controls the order of visible fields on the task screen.
Entity field Marks one scalar field as the task's entity identifier. Only one field can be the entity, and it cannot be a file or checkbox group.
Main document Marks one visible file field as the primary document for the workflow task.

Hidden fields cannot be required. A hidden file field does not upload or produce a value; keep file fields visible.

4. Use safe variable names

A field variable name:

  • starts with a letter or underscore;
  • contains only letters, numbers, and underscores;
  • is unique within the Task Form.

Do not use the engine-owned names action, actor, comments, form_data, signal_data, or signal_received.

Changing a field label later does not change its variable name. Treat the variable name as the stable contract with downstream nodes.

Configure the buttons and routes

1. Define Allowed Actions

Open the Actions tab. Add or edit the actions the assignee can take.

Setting Behaviour
Action ID Stable routing ID. It must start with a lowercase letter and contain only lowercase letters, numbers, and underscores.
Action Name User-facing button label.
Color Visual treatment for the action and its route.
Requires Comment Prevents that action from being submitted until the assignee enters a comment.

Action IDs must be unique. Good IDs include approve, request_changes, and send_to_legal.

Do not add an action named submit only to send the form. Every Allowed Action already submits the form.

2. Connect every outcome

  1. Save the Task node.
  2. Draw an outgoing connection from the Task node.
  3. Choose the action outcome that should use that connection.
  4. Repeat for every Allowed Action that needs its own path.

For example:

approve         → Generate final report
request_changes → Email requester → Return to review
send_to_legal   → Assign legal review task

Before running the workflow, confirm that every declared action has a valid next step. The action ID on the connection must match the Action ID in Task Properties.

What the assignee sees

When a signed-in assignee opens the task from My Tasks or Workflow Detail:

  1. RAPTIX shows the task context and any associated document.
  2. The Task form section displays visible fields in the configured order.
  3. Required fields are marked and validated.
  4. The Allowed Actions section displays the configured action buttons.
  5. Selecting an action uploads pending files, validates the fields and comment requirement, records the full response, and continues through that action's route.

An external assignee with a valid secure action link sees the same Task Form fields without needing a workspace account. The link remains scoped to that task and its authorised action; confirming it submits the fields and continues through that action's route.

Use Task Form values downstream

Each submitted field becomes an output of the Task node under its Variable name. The result also keeps the values together under form_data for grouped inspection and audit views.

Example fields:

risk_level
review_notes
signed_contract

Later nodes can use those outputs to:

  • route an If/Else condition using risk_level;
  • include review_notes in an email or generated report;
  • pass the values into an AI Agent;
  • attach or save signed_contract through a file-aware downstream node.

File fields are persisted as protected document references, not public file URLs. Use the variable/output picker in the downstream node to select them rather than typing an guessed path.

Build a Task Form with AI Builder

Describe the human step, fields, actions, and branch outcomes together. For example:

Add a contract review task for [email protected]. Collect a required risk level with low, review, and high choices; optional review notes; and a required signed contract file. Add Approve and Request changes actions. Approval should generate a report. Request changes should email the requester and loop back to the review.

AI Builder can propose the Task Form fields and Allowed Actions, then wire downstream branches using the exact action IDs. Review the proposed changes before selecting Apply to canvas, then open Task Properties and verify the field names, required rules, recipient, and routes.

Validation and safety

  • Task Form submissions accept only fields defined on the Task node.
  • Required values, number/date types, checkbox choices, and dropdown choices are validated by the server.
  • Uploaded files must belong to the same workflow instance; a task cannot submit a file reference from another case.
  • The selected action must be one of the task's Allowed Actions.
  • A completed task cannot be submitted a second time through the same pending action.
  • Task Form results are preserved in ordinary, parallel, and Foreach task execution.

Troubleshooting

Problem Resolution
Task form fields are not visible in Task Properties Open the Form tab and set Task category to Form.
The task shows no form at run time Confirm the category is still Form, at least one visible field exists, and the latest workflow version was saved before the run began.
Save Task rejects a field Check that its variable name is valid and unique, and that select/checkbox-group fields have options.
An action button stays disabled or returns validation errors Complete all required fields, upload required files, and enter a comment when that action requires one.
The workflow takes the wrong branch Compare the connection outcome with the Allowed Action ID; labels may change, but the ID is the routing contract.
A later node cannot find a value Select the output from the Task node in the variable picker and confirm the field's Variable name was not changed.
Switching category removed the fields Switching away from Form clears Task Form fields after confirmation. Restore the workflow version or re-add the fields.
Still stuck? See Get Help with Support or reach your workspace administrator.