on 08-01-2023 12:49 PM
Hi,
I have the requirement that the employee should be able to retrieve and review all the submitted forms (approved & rejected).
Questions:
1. Is this possible in SAP BPA to view retrieve the submitted forms seamlessly?
2. Do I need to build an extension to store all submitted forms in separated database? If yes, how can I fetch the submitted forms? Is there any API for this?
Thanks.
Edwin
There is an API to retrieve all task instances for everybody -- https://api.sap.com/api/SPA_Workflow_Runtime/path/get_v1_task_instances
This one is in the Workflow API package (the other was in the Inbox package)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Depending on what you need, you can call the API to retrieve the tasks -- set the filter for a specific user, or for a specific instance, or for a specific process.
https://api.sap.com/api/SPA_Workflow_Inbox/path/get_TaskCollection
There is a STATUS field if you want to see the current tasks or also the EXECUTED (old) tasks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel,
Thank you for the explanation. Do I have to build a standalone app and call the API?
I think the API you mentioned is user specific. Is there an API to get all tasks for all users?
I have requirement that HR Department should be able to review all the submitted forms.
Thank you.
Edwin
Hello edwin_sendjaja34,
Please refer below SAP thread. Hope it's clarifies your query.
https://answers.sap.com/questions/13810444/how-to-make-build-process-automation-form-as-a-pub.html
If satisfied please accept the answer.
Regards,
Neeraj Jain
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.