BPM, Workflow, and Case

BPM, Workflow, and Case

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  Getting authorized to perform the 'addDocument' action.

    Posted Tue January 25, 2022 09:57 AM
    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
    ------------------------------


  • 2.  RE: Getting authorized to perform the 'addDocument' action.

    Posted Fri January 28, 2022 12:40 PM

    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
    ------------------------------



  • 3.  RE: Getting authorized to perform the 'addDocument' action.

    Posted Tue February 01, 2022 04:54 AM
    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
    ------------------------------