IBM FileNet P8, Version 5.2.1            

WaitForCondition example

In this example of a credit application process, a credit application requires confirmation of salary information from the applicant's employer. As part of the CreditApp workflow, a WaitForCondition system function suspends processing to wait for another workflow, SalaryInfo, that contains the salary confirmation from the applicant's employer.

WaitForCondition workflow

The data fields defined in the two workflows are as follows:

Waiting (CreditApp) Waited-for (SalaryInfo)

SocSecNum : <applicant ID number>

Salary : <reported by applicant>

ConditionResult : <row # of condition>

SSN : <applicant ID number>

BaseSalary : <reported by employer>

ConditionIdentifier : SSN

In the SalaryInfo workflow definition, the data field named SSN is specified as the ConditionIdentifier. The CreditApp workflow waits for a SalaryInfo workflow with a value in its SSN field that matches the value in the CreditApp's SocSecNum data field.

In the CreditApp workflow definition, the WaitForCondition is defined as follows:

  Waited-for workflow Waited-for ConditionIdentifier Operator ConditionIdentifier expression
#1 SalaryInfo SSN = SocSecNum

If this wait condition is satisfied, the value of the Salary field in the CreditApp workflow will be updated with the value in BaseSalary in the SalaryInfo (waited-for) workflow.

Field to assign Expression
Salary BaseSalary

The WaitForCondition in CreditApp specifies a time limit of 7 days. It also specifies that the result of the wait will be saved in the field named ConditionResult. Since the Condition table contains only one condition that can satisfy the wait in this example, the value in ConditionResult can be either 0 or 1:

After WaitForCondition processing completes, the CkResult step in the CreditApp workflow checks the ConditionResult to determine the next action:



Last updated: October 2015
bpfdh054.htm

© Copyright IBM Corporation 2015.