Creating BPM documents

Draft comment:
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15
You can create BPM documents by using one of the BPM documents Coach views and by using content integration in a service.

About this task

You can use the following user interfaces to create BPM documents:

If you use the Content Integration node to create a document, you select the BPM document store as the target server and select the Create document operation. The only required value for this operation is the document name. The object type ID and folder ID are automatically specified because they are mandatory properties when the BPM document store is specified as the target server.

Optionally, you can also provide content and properties:

What to do next

If you want the document to be visible in a local folder, you need to add another Content Integration node where you select the BPM managed store as the server and perform an Add document to folder operation.
Note: Ensure each document has a unique name because two documents with the same name in a folder is not allowed in the embedded document store.
In the data mapping, you pass the document ID that was returned by the Create document operation. For the document server name, you use the ECMServerNames.IBM_BPM_DOCUMENT_STORE constant. For the parent folder ID, you use the identifier of the folder where you want to add the document; for example, the tw.system.currentProcessInstance.processInstanceFolderId expression for the root folder of the process. Optionally, you can provide a reference name if you want the document to appear with a label in the folder that is different than the name of the document.