Skip to content

select

An action to select one record by a selectFromTree configuration. The selected record can be forwarded to the next action via then. They are accesible in $payload with the fixed key selectedRecord. $payload.selectedRecord is the selected JSON-object.

actionValues
tree set the tree
node set the node of the tree
attribute set the attribute of the node
{
    "label": "Choose template",
    "icon": "icon-list",
    "action": "select",
    "actionValues": [
        {
            "tree": "demo-document-templates",
            "node": "documents",
            "attribute": "name"
        }
    ],
    "then": {
        "action": "fileEdit",
        "actionValues": [
            {
                "documentsAdd": "Workingfiles"
            }
        ]
    }
}