Menus - Task Context

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

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

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

Default Configuration

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

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

Example - Add a New Menu Item

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

{
    "task-context": {
        "items": [{
            "key": "task",
            "items": [{
                "key": "task/custompage",
                "title": "Custom Task Page",
                "uri": "{taskUri}/custompage",
                "iconClass": "fa fa-someicon"
            }]
        }]
    }
}