cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with adding scopes to workflow service

wskaw
Explorer
0 Kudos

Hello,

I want to update workflow service's scopes (wm_workflow - default instance created by booster) to use CF Workflow API on trial account. When I try to use this command: cf update-service wm_workflow -c '{"authorities": ["WORKFLOW_DEFINITION_GET", "WORKFLOW_INSTANCE_START"]}'

it fails: Incorrect Usage: unexpected argument "[WORKFLOW_DEFINITION_GET, WORKFLOW_INSTANCE_START]}'"

FAILED

As I said, I used booster, so I think I have all necessary roles.

Best Regards,

Wiktor

Accepted Solutions (0)

Answers (1)

Answers (1)

Giulio_Grandine
Advisor
Advisor
0 Kudos

What do you mean by a trial account? Can you provide more information on the system that you are using. Also I am not familiar with CF Workflow API. I did a search for it in our Business Center and i can't find anything. Do you have link to some information on that API?

Thanks,

Giulio

wskaw
Explorer
0 Kudos

This is a link for API: https://api.sap.com/api/SAP_CP_Workflow_CF/resource/User_Task_Instances

I tried to add this scope to workflow service instance using CLI as in this tutorial: https://github.com/SAP-archive/cloud-platform-workflow-virtual-event/blob/master/exercises/06/readme...

I remember I did it almost year ago and now it does not work for me. I solved this problem by just adding "authorities" to parameters in service instance on BTP but I just want to know if something has changed during this time (maybe different command?).

Best Regards,

Wiktor