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.
-
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.
-
Model the workflow as described in Developing Applications with Workflow Capability.