IBM Content Manager, バージョン 8.5      サポート:  Oracle, DB2, C++, Java

新規の標準ワーク・ノードの定義

ワーク・ノードは、文書ルーティングのプロセス定義におけるステップです。 DKWorkNodeICM クラスは、プロセスの特定のステップで実行することが予想されるタスク または適用可能なタスク ( アクション・リストおよびライブラリー・サーバー出口プログラムなど) を詳述するワーク・ノード定義を表します。

カスタマー・アプリケーションによる次のステップを続けるために、いつでも完了させることができます。 その完了基準の妥当性検査は、そのアプリケーションで行うことになっています。

サブプロセスは、タイプ DK_ICM_DR_SUB_PROCESS_NODE_TYPE のワーク・ノードとして記録されます。 サブプロセスとワーク・ノードは同じ名前を共有します。

例: Java™

// Create new Work Node Object.
 DKWorkNodeICM workNode1 = new DKWorkNodeICM();
//Choose a Name that is 15 characters or less length
workNode1.setName("S_fillClaim");
//Choose a Description for more information than the name.
workNode1.setDescription("Claimant Fills Out Claim");
// Sets the value of the maximum time that an item can spend at this
// work node (in minutes).
workNode1.setTimeLimit(100);
// Specify the threshold that activates overload user 
// exit routine when the number of work packages at this node 
// is greater than the threshold.
// Note that the number of workpackages at this worknode 
// is not limited to the threshold.
workNode1.setOverloadLimit(200);
workNode1.setOverloadUserDll("C:¥¥USEREXIT¥¥exitOverload.dll");
workNode1.setOverloadUserFunction("callOverload");

// Set the type to be a regular work node
workNode1.setType(0);
 
//Add the new work node definition to the document routing  
//managment object
routingMgmt.add(workNode1);

例: C++

// Create new Work Node Object.
 DKWorkNodeICM* workNode1 = new DKWorkNodeICM();
// Choose a Name that is 15 characters or less length
 workNode1->setName("ValidateCreditCard");
// Choose a Description for more information than the name.
workNode1->setDescription("Buyer's credit card is validated with
                 the credit card agency");

// Sets the value of the maximum time that an item can spend at 
//this work node (in minutes).
workNode1->setTimeLimit(100);

// Specify the threshold that activates overload user 
// exit routine when the number of work packages at this node 
// is greater than the threshold.
// Note that the number of workpackages at this worknode 
// is not limited to the threshold.
workNode1->setOverloadLimit(200);
workNode1->setOverloadUserDll("C:¥¥USEREXIT¥¥exitOverload.dll");
workNode1->setOverloadUserFunction("callOverload");

// Set the type to be a regular work node
workNode1->setType(0);

//Add the new work node definition to the document routing 
//management object
routingMgmt->add(workNode1);

// Free memory. This object will no longer be needed.
delete(workNode1);

ワーク・ノードの完全な作成例については、SDocRoutingDefinitionCreationICM サンプルを参照してください。



フィードバック

最終更新: 2013 年 12 月
dcmar017.htm

© Copyright IBM Corp. 2013.