Updating BPM documents

You can update BPM documents by using one of the BPM documents Coach views and by using the Content Integration node in a service.

About this task

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

To use the Content Integration node to update documents, you must first check out the document. When the content or properties data is ready to be updated, the document must be checked in. Properties of a BPM document can be updated only through a check-in operation. The Update document properties operation, available for external Enterprise Content Management (ECM) servers, is not available for the BPM document store.

In a service flow, a typical update procedure might involve the following tasks:

Procedure

  1. In the Content Integration node, specify the following options:
    • Server: BPM document store
    • Operation: Check-out document.
  2. In the Server Script node, populate the implementation with the code that is required to update the content or properties.
  3. In the Content Integration node, specify the following options:
    • Server: BPM document store
    • Operation: Check-in document. The document ID (private working copy ID) that is returned by the check-out document operation must be used as input to the check-in document operation.

What to do next

For sample code and information about working with BPM document properties, see Working with the IBM_BPM_Document_Properties property. For sample code and information on working with content streams, see The IBM_BPM_Document document type.