When using a dynamic Destination from a Process Datafield in the Destination Rule of an Activity, the Destination Rule will fail at runtime if the Destination Type (User, Group, or Role) does not match the Process Datafield type.  It was not possible to specify what Destination Type to match the Process Datafield to.

A dropdown has been added that allows the process designer to select ‘User’, ‘Group’ or ‘Role’ for the Destination Type when a Process Datafield is used. At runtime the K2 Server will now attempt to resolve the value of the Datafield based on the Destination Type that was specified in the dropdown. If no matching value is found (based on the specified Type), then the Destination Rule will fail.


This issue has been resolved in the latest K2 release.