Skip to content

createForm

createForm creates a new record without user input and does not save it. All other settings are like create. This record can then be used in further actions.

Create a child with two input dialogs and navigate to the created record:

{
    "label": "Worklog",
    "icon": "icon-plus",
    "action": "createForm",
    "actionValues": [
        {
            "_node": "worklog"
        }
    ],
    "then": {
        "action": "form",
        "actionValues": [
            {
                "mode": "temp",
                "attributes": [
                    {
                        "name": "DESCRIPTION"
                    }
                ]
            }
        ],
        "then": {
            "action": "form",
            "actionValues": [
                {
                    "mode": "save",
                    "attributes": [
                        {
                            "name": "DESCRIPTION_LONGDESCRIPTION"
                        }
                    ]
                }
            ],
            "then": {
                "action": "goto"
            }
        }
    }
}