CP calculation for Delegation related PWO returns no deciders intermittently
说明
CP calculation for Delegation related PWO returns no deciders intermittently for bulk operations.
原因
Deciders for an initial CP step in a workflow are calculated immediately on PWO insertion. We cannot guarantee that the related delegation db entry has been inserted also. In this case, if the CP query refers to the related delegation, it may return an empty result.
解决办法
WORKAROUND
Insert a CD step in the decision workflow at the front with the calculation 1=1. This ensures that the DBScheduler will run and that the CP query is run again upon CD decision.