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
recordSet
Defines for which records from a list or sub-list the workflow is executed. Same as for triggers. For further details, see recordSet.
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");}