on 2023 Feb 03 10:29 AM
Hello Experts,
I am using SAP workflow management for approval. I'm trying to recall submitted workflow before approver approves it. We can terminate the workflow instance using APIs but to change workflow's status we need to have workflowmanagementadmin role assigned to user ID. Can we do it without having workflowmanagementadmin?
Thanks,
Megha Chavare
Request clarification before answering.
Hi Megha,
whenever there is an external action required, like with a REST API, you will need some sort of permission as you need to authenticate.
For example, if you model your workflow in a way that it waits for a message, while the approval task is also open, you can have the instance complete by triggering the Message REST API and the follow-up steps leading to a terminating end event. But still you need to take care that the authentication of the Message REST API call is appropriate with respect to a security concept. There is a respective role (WorkflowMessageSender) which is specifically focused on this, i.e. it is much less powerful than the WorkflowAdmin.
See documentation:
https://help.sap.com/docs/WORKFLOW/e157c391253b4ecd93647bf232d18a83/731a6484ed364185bb97b8a67b2909c8... (Events overview)
https://help.sap.com/docs/WORKFLOW/e157c391253b4ecd93647bf232d18a83/56d343e4e6d24ec9872b4847eec53e1c... (Intermediate Message Event)
https://help.sap.com/docs/WORKFLOW/e157c391253b4ecd93647bf232d18a83/103f2b307af142e5a91368c1539dea57... (Authorization Configuration)
https://api.sap.com/api/SAP_CP_Workflow_CF/resource (API docs -> Messages section)
Regards,
Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
21 | |
9 | |
8 | |
7 | |
6 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.