Task decision

Answers to a process task right on the form.

The decision widget

The widget shows the answers to your open task of a task-module process (approve, reject, send back…) and a Reassign button. The answer is written as a request into the FCRequests list and the process engine decides. The main form is not saved and the widget also works in Display mode. It is a virtual widget, not stored in the item. It is a Pro feature (counted like a write to another list, the same as the button action Create item).

Adding it

On the Widgets card choose Task decision and place it in a section of the source item form (or of the task form itself). The FCTasks and FCRequests lists live on the process web; enter its address in the settings, empty means the current web.

Settings

OptionPropertyMeaningDefault
ModemodeTrusted (request): writes a request into FCRequests. Lite mode (direct, writing straight to the item) is reserved in the schema but not available yet.request
Process webprocessWebUrlFor example /sites/Processes or an absolute address on the same host. Reading tasks and writing requests go through this web.current web
Tasks / requests listtasksList, requestsListTitle or GUID of the lists.FCTasks, FCRequests
Which tasks to showtaskSourceTasks of this item (sourceItem) or Task form (currentTask): the form item is the task itself.sourceItem
Heading, text without a tasktitle, emptyTextTranslatable texts. Without text the widget is hidden when there is no task.empty
Reassign buttonallowReassign, reassignLabelSwitch and label. The button is hidden anyway when the process step does not allow reassignment.on
Answer overridesoutcomeOverridesList of { key, label, appearance }: overrides the label and appearance (primary, secondary, danger) of an answer by its key. The label is a translatable text (Translations card).none
Request column namesrequestColumnsOverrides of the internal column names of FCRequests (defaults follow the specification, for example ProcInstanceId).per specification
Waiting for the resulttimeoutSecondsLongest wait in seconds, 5 to 900.120

Runtime behaviour

Configuration example (JSON)

{
  "internalName": "__decision",
  "customLabel": "Decision",
  "fieldType": "decision",
  "colSpan": 12,
  "decisionConfig": {
    "processWebUrl": "/sites/Processes",
    "title": "Your task",
    "emptyText": "No task is waiting for you.",
    "allowReassign": true,
    "outcomeOverrides": [{ "key": "reject", "appearance": "danger" }]
  }
}

Limits and tips