IBM Support

JR62059: THE CWTBG0549E ERROR OCCURS WHEN YOU USE THE REST TESTER TO CALL ADDDOCUMENT TO ADD A DOCUMENT TO AN EXTERNAL ECM SERVER

Direct link to fix

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as documentation error.

Error description

  • When you try to use the REST Tester to call addDocument to add a
    document to an external ECM server, the configuration in IBM
    Process Designer for the smart folders of the service points to
    an ECM server. However, when the REST call is made, the
    following error occurs:
    
    com.ibm.bpm.wle.api.NotAuthorizedActionException: CWTBG0549E:
    You are not authorized to perform the 'addDocument' action.
    at
    com.ibm.bpm.rest.impl.process.AddDocumentActionHandler.handleAct
    ion(AddDocumentActionHandler.java:158)
    at
    com.ibm.bpm.rest.impl.process.BusinessProcessDefinitionResource.
    postProcessInstanceActions(BusinessProcessDefinitionResource.jav
    a:1089)
    The REST API documentation for the document commands doesn't
    state that this issue occurs only for locally managed documents.
    Also, there should be some comments about the "Allow locally
    managed documents" Smart Folders check box.
    
    The topic regarding addDocument is "REST interface for
    BPD-related resources - Process Instance Resource - POST (add
    document) Method"
    (https://www.ibm.com/support/knowledgecenter/SS8JB4/com.ibm.wbpm
    .ref.doc/rest/bpmrest/rest_bpm_wle_v1_process_instanceid_post_ad
    d_document.htm ).
    The topic regarding updateDocument is "REST interface for
    BPD-related resources - Process Instance Resource - PUT (update
    document) Method"
    (https://www.ibm.com/support/knowledgecenter/SS8JB4/com.ibm.wbpm
    .ref.doc/rest/bpmrest/rest_bpm_wle_v1_process_instanceid_put_upd
    ate_document.htm ).
    The topic regarding deleteDocument is "REST interface for
    BPD-related resources - Process Instance Resource - DELETE
    (delete document) Method"
    (https://www.ibm.com/support/knowledgecenter/SS8JB4/com.ibm.wbpm
    .ref.doc/rest/bpmrest/rest_bpm_wle_v1_process_instanceid_delete
    delete_document.htm ).
    
    Each of these topics should mention that this error occurs only
    for locally managed documents and should users to "Local
    documents"
    (https://www.ibm.com/support/knowledgecenter/SS8JB4/com.ibm.wbpm
    .wle.editor.doc/topics/rlocaldocs.html ) for information about
    how to allow locally managed documents.
    
    PRODUCTS AFFECTED
    IBM Business Automation Workflow
    

Local fix

Problem summary

  • No additional information is available.
    

Problem conclusion

  • The content will be updated the next time the documentation is
    refreshed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR62059

  • Reported component name

    BUS AUTO WORKFL

  • Reported component ID

    5737H4100

  • Reported release

    J00

  • Status

    CLOSED DOC

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-02-27

  • Closed date

    2020-04-06

  • Last modified date

    2020-04-06

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS8JB4","label":"IBM Business Automation Workflow"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"19.0.0.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
22 June 2020