Thank you for the response.
By the way, I tried the above steps, and try to upload a document to the case. But the document is added as Unfiled document and it is not available inside the case folder.
How can I add a document to the case folder?
------------------------------
Alistair Gardner
------------------------------
Original Message:
Sent: Fri January 28, 2022 12:40 PM
From: Mikhail Zilbergleyt
Subject: Getting authorized to perform the 'addDocument' action.
Based on the Policy settings, the ADD_DOCUMENT is available to all users:
https://www.ibm.com/docs/en/baw/19.x?topic=properties-process-portal-action-policies
I am wondering if your Process ( if it is not a BPD) is not configured to work with attachments.
To check in Web Designer open the Process and check the Folders tab. Make sure you have 'Allow locally managed documents' check box checked.
If you are on the server side, you can try using JS API (https://www.ibm.com/docs/en/baw/19.x?topic=examples-working-document-attachments) to add a doc or use the Content Integration Task to do it.
------------------------------
Mikhail Zilbergleyt
Original Message:
Sent: Tue January 25, 2022 05:47 AM
From: Alistair Gardner
Subject: Getting authorized to perform the 'addDocument' action.
I was trying to add a document to the process by the following API.
/rest/bpm/wle/v1/process/xxx?action=addDocument
and got the following error response.
CWTBG0549E: You are not authorized to perform the 'addDocument' action.
When running the "Show Process Actions" API, the following is the result. (I used p8admin (Admin) as the user)
How can I get the authorization to add a document?
------------------------------
Alistair Gardner
------------------------------