Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.38 KB

File metadata and controls

37 lines (24 loc) · 1.38 KB

Set Scopes for the Service Instance Using the Command Line Interface

To set the necessary scopes of a service instance, you need to install a new service interface with all scopes needed or you update an already existing service interface.

  1. To update the workflow capability instance with the necessary scopes, save the following JSON file that specifies all necessary scopes:

    {  
        "authorities": [
            "WORKFLOW_INSTANCE_START",
            "WORKFLOW_DEFINITION_GET",
            "WORKFLOW_INSTANCE_GET",
            "WORKFLOW_INSTANCES_UPDATE",
            "WORKFLOW_INSTANCE_CANCEL",
            "WORKFLOW_INSTANCE_GET_ERROR_MESSAGES",
            "WORKFLOW_INSTANCE_GET_CONTEXT",
            "WORKFLOW_INSTANCE_GET_EXECUTION_LOGS",
            "MESSAGE_SEND",
            "TASK_GET"
        ]
    }

    To set these scopes, see Update an existing service instance in Enable Technical Authentication.

  2. Model the workflow as described in Developing Applications with Workflow Capability.