Creating P8 queues and workflows
The documents that are to be linked must be available as work items in a P8 queue. You must create the P8 queues, and you must create the workflows that make these documents available in the P8 queues.
Before you begin
stringwith a maximum length of 40 characters.
About this task
- Because a queue can contain documents from several workflows,
the name of the workflow must have the following format:
<sap_system>_<archive_id>_<p8_queue_name>
- <sap_system>
- Specify the ID of the SAP system that the instance is to log on
to.
Where to find the information in Configuration Feature:
- <archive_id>
- Specify the ID of the logical FileNet® P8 archive that contains
the documents that are to be linked.
Where to find the information in Configuration Feature:
- <p8_queue_name>
- Specify the name of the P8 queue that is to receive the documents
that are to be linked.
Where to find the information in Configuration Feature:
The Linking of Documents in a P8 Queue section has been renamed to Document Linking.
Important: Ensure that the workflow name has a maximum length of 31 characters.Example for a workflow name: EC5_Y5_BarcodeQueue
- The workflow must have the following properties:
- A field of data type
string
, named DWRemark. This field is used to store error messages that might occur during bar-code processing. Documents are only linked if this field is empty.The length of the field must be specified in bytes. The field must be long enough to hold 100 English ASCII characters. If you use a multibyte character set, characters do not equal bytes. Check the code page of your database to determine the number of bytes per character and to calculate the minimum length of the DWRemark field in bytes.
- An attachment of a data type other than
array
, named DocumentNumber.This attachment contains the document ID of the document that is to be linked.
- A field of data type
- Create an index on the P8 queue. The name of the index must be DWIndex.
The index must contain these fields in this sequence:
- F_Class
- F_LOCKED
- DWRemark
- F_EnqueueTime
Create the index by using Process Configuration Console. For more information, see the IBM® FileNet P8 product documentation (www.ibm.com/support/knowledgecenter/SSNW2F/welcome).
- Expose the fields F_CLASS and DWRemark in
the P8 queue. These fields are used in an internal search.
Expose the fields by using Process Configuration Console.
INTERNAL_BARCODE bar_code
INTERNAL_DWREMARK remarks
- InstallHome/samples
- InstallHome\samples
Integrate this sample into your Workplace or Workplace XT and change it according to your needs.
For more information about how to create P8 queues and workflows, see the FileNet P8 Platform documentation (www.ibm.com/support/knowledgecenter/SSNW2F/welcome). The following procedure shows how to integrate the sample workflow definition into your Workplace XT: