Workflow Action Parameters

Supported Workflow Action parameters.

The Workflow action supports the following input arguments:

name

The name of the workflow format to be executed.

uid/uid2

The uid of one or two optional records passed to the workflow.

parameters

Parameters passed to the workflow.

Syntax:

javascript:[{name: "sParam", values: ["string parameter"]},
{name: "fParam", values: ["32.55"]},
{name: "iParam", values: ["3542"]}]

callback

A marker parameter for the framework entered automatically if a callback is required for the execution.

refreshAfterExecution

If set to true, any visible view (list, sub-list, expand) containing records that have been changed by an executed trigger or workflow is refreshed immediately.

Default: true

Note: If a trigger calls another trigger (defined in the currently active rights definition), changes performed by that follow-up trigger may not be immediately reflected in the current view.

recordSet

Defines for which records from a list or sub-list the workflow is executed. Same as for triggers. For further details, see recordSet.

Note: Regardless of the number of selected records, only the records actually required by the workflow are taken into account (max. 2). The workflow is NOT called individually for each selected record.

callbackFunction

This argument defines an optional callback function that is called after the execution of a trigger or workflow.

You can specify

  • a custom JavaScript function
  • a framework function
  • an inline function

Syntax

To call a custom JavaScript or framework function enter the function name:

javascript:triggerCallbackFunction

To call an inline function enter the JavaScript code:

javascript:function(sender, args) {alert("this is a trigger callback function");}