cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP Method Patch is not Supported error while trying to update Task Instance of SCP Workflow

Utkarsh
Participant
0 Kudos

Hi Experts,

We are implementing an SCP workflow and we have a requirement to complete the User Task from an action taken from a custom Fiori App. But, when we are testing the Patch method for Task Instance API in Postman, we are facing an error saying 'HTTP method Patch is not supported'.

We are facing the same error even from SAP API Hub for Sandbox environment.

Any inputs will be highly appreciated.

tobias_breyer
Contributor
0 Kudos

Please check whether it works if you use PATCH instead of Patch. HTTP verbs are case-sensitive.

drvup
Contributor
0 Kudos

Can you tell us the path, you're using ?

Utkarsh
Participant
0 Kudos

No tobias.breyer, we don't write the method name anywhere, we just select it from the dropdown in Postman.

Accepted Solutions (1)

Accepted Solutions (1)

Jerry_Lowery
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Utkarsh,

Without some additional details it is difficult to narrow down your issue.

here are some links that might help:

On API Hub:

https://api.sap.com/api/SAP_CP_Workflow_CF/overview

The help for the service, this help contains links to tutorials and blogs that may help you.

https://help.sap.com/viewer/product/WORKFLOW_SERVICE/Cloud/en-US

for example: https://blogs.sap.com/2018/04/05/introduction-to-sap-cloud-platform-workflow-summary/

and: https://developers.sap.com/group.cp-workflow-cf.html

Help for the api you are calling:

https://help.sap.com/viewer/e157c391253b4ecd93647bf232d18a83/LATEST/en-US/fe41c54d61fa4710b34f2afe11...

https://help.sap.com/doc/80205e0dc75945538b451284fdcc935b/Cloud/en-US/wfs-core-api-docu-cf.html#api-...

We suspect you have an issue fetching and defining the XSRF token or the task instance ID is not resolved correctly, as mentioned in this previous answer.

https://answers.sap.com/questions/474944/scp-workflow---task-not-found.html

Thank you

Jerry

Answers (0)