cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to use Workflow capability when starting App from Business Application Studio.

thejk
Explorer
0 Kudos

Hi Experts,
I developed an App that uses the Workflow capabilites from SAP Build Process Automation. After deploying the App to the Launchpad, everything works fine (using managed application router).

But if I start the App from within BAS ("npm start") the fetching of the XSRF-Token fails. Read-Access on the Workflow service is working. 

thejk_0-1711625456445.png

I can read workflow instances etc. without problems but if I try to change something on an instance and therefore try to fetch a XSRF-Token it fails with "403 User does not have sufficient privileges.

I am using the same user in BAS as in Launchpad, so I wonder why there should be an authorization Problem with my user.

This is my xs-app.json:

thejk_1-1711625818778.png

And this is the relevant part of my ui5.yaml:

thejk_2-1711625968389.png

I also tried these parameters, no success:

thejk_3-1711626058640.png

My User has these Roles:

thejk_5-1711626891915.png

 


Any hint is highly appreciated...

Regards,
Jürgen

 
 
View Entire Topic
thejk
Explorer
0 Kudos

Hello Archana,

thanks for your answer. I added csrfProtection: false to my xs-app.json but the error is still the same. 

I also followed the post from korayyersel_q  in the comments of yout Blog (CF: bind a service to a locally run application") but this did also not help.

Any other ideas maybe?

Regards,

Juergen