Beginning with V5.4, an administrator or developer can fix assignments that are missing from or have mismatching information on page pxFlow. This article describes how to use this feature.
If there is a missing assignment, the work object cannot be opened when a flow is initiated. Here is an example of the error message:
This error can occur after a work object has been created and the flow rule has been validated.This error is not displayed in your worklist or Assignments in Error report.
The error is usually the result of the property .pxAssignmentKey having been deleted from table
pc_assign_workbasket and therefore is missing on page pxFlow. To fix the null assignment, open the work item and start the flow by clicking the flow link. When the error message appears, click Restore This Assignment. When you run the flow again, a new assignment is created for the work object.
An assignment mismatch error appears in the Assignments in Error report when assignment details in the work object do not match data in an instance in the Assign-Worklist or Assign-Workbasket. The error can be the result of the property .pxTaskName having been modified in table
pc_assign_workbasket causing a mismatch on page pxFlow.
Here is an example of the error message:
To create the correct the mismatch, locate and open the item and click Repair This Assignment. When you run the flow again, the assignment is rebuilt matching .pxTaskName property with the property name on page pxFlow.
Note: The page pxFlow must be present and valid in order for assignments to be repaired or recreated.
Restore and repair privileges
An operator can restore or repair assignments only when appropriate operator privileges are defined in an instance of the when rule named CanReconcileProblem. This rule is referenced in the standard flow rule Work-FixWork. The field is located in the When Name field on the Process tab as shown here:
The when rule checks four privileges ReconcileProblemWork, ReconcileProblemWork_Organization, _OrgDiv,and -OrgUnit, in class @baseclass within instances of Rule-Access-Role-Obj. These privileges are also used to grant access to Problem Flow and Problem Assignment list reports.