IBM Support

Case Foundation use of the Condition Identifier

Question & Answer


Question

In what scenarios or situations would you set a value or expression for the Condition Identifier in a workflow definition?

Answer

The workflow definition Condition Identifier value is used by the WaitForCondition system function to identify a specific waited-for work item. A work object instantiated from a workflow definition that has a Condition Identifier value or expression set will be checked by the workflow system's Instruction Sheet Interpreter task/thread/process when the work object is saved or completed from the current step. This is required to verify if the work object meets any WaitForCondition events that are waiting.

Below are the guidelines for configuring the Condition Identifier field on a workflow definition:


  • If the current workflow is a potential match for a WaitForCondition system function residing in any other workflow definition within your isolated region, set the Condition Identifier on the current workflow definition.
  • Do not configure the Condition Identifier field for workflows not participating in a WaitForCondition events. If the current workflow is not participating in a WaitForCondition event, where it becomes a waited-for workflow, do not configure the Condition Identifier field.
  • Do not configure a Condition Identifier field on a workflow definition if there are no WaitForCondition system steps in any workflows in the region.
  • Do not configure the WaitForCondition system step to wait on the same workflow definition as where the Condition Identifier is defined. This would in effect make the Waiting workflow the same as the Waited-for workflow.
  • Do not use the work object F_Tag field to store user defined values. The value that results from the Condition Identifier field is stored in the work object F_Tag field during runtime. Re-using the F_Tag field at runtime will interfere and result in unnecessary checking of WaitForCondition events on the work object. Instead, use a custom user defined field to store user defined values and associated index can be created against the user defined field to help with queries.

[{"Product":{"code":"SSTHRT","label":"IBM Case Foundation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Process Engine","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF016","label":"Linux"}],"Version":"5.2.1.1;5.2.1;5.2;5.1.0;5.0;4.5.2.3;4.5.2.1;4.5.2;4.5.1;4.5.0;4.5;4.1.0;4.1;4.0.3;4.0.2;4.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21699706