Menus - Workflow Context

The workflow-context key defines the left-hand menu options for the Workflow pages.

To populate the workflow-context section, your configuration snippet should look like this:

{
    "workflow-context": {
        "items": []
    ]
}

Default Configuration

The default UI configuration for the Workflow pages looks a bit like this:

{
    "workflow-context": {
        "items": [{
            "key": "workflow",
            "title": "Workflow",
            "order": 1000,
            "header": true,
            "items": []
        }]
    }
}

Example - Add a New Menu Item

We can add a new menu option under the Workflow menu like this:

{
    "workflow-context": {
        "items": [{
            "key": "workflow",
            "items": [{
                "key": "workflow/custompage",
                "title": "Custom Workflow Page",
                "uri": "{workflowUri}/custompage",
                "iconClass": "fa fa-someicon"
            }]
        }]
    }
}