proxyId.
Manifest
Add a
workflowsMapping property to the manifest.json file that defines the workflow(s) using the following format:
workflowsMapping property takes an array of workflow mappings. A workflow mapping is an array of objects with the following properties:
-
An
alias(string) - the alias you’d like to use when you reference the workflow in your code. -
A list of input
parametersrequired to start the workflow. These parameters include the following properties:-
aliasedName(string) - the alias of the parameter you are passing in to the workflow -
type(string) - type of the parameter you are passing into the workflow. The valid options are:booleandatedateTimedecimaldurationnumberobjectpersondatasetgrouptexttime
-
list(boolean) - whether the parameter is a list or not. -
children(workflow mapping object) - if the parameter is a definedobject, you can define the nested properties here.
-
Starting a Workflow: Code Example
alias parameter in the startWorkflow function is the alias that you defined in your manifest.
The body parameter is an object where the keys match the aliasedName keys defined in the parameters property of the workflow definition in your manifest.
Wiring Screen
After publishing your app, you will need to wire it to the workflow you want to start by editing an existing app card, or creating a new one.

workflowMapping array in your manifest


