Issue with pzRelateCase Failing to Relate Cases Before First Assignment in Child Case
Summary of Issue: When creating a new Case B from an existing Case A, we’re using the pzRelateCase activity to relate Case B back to Case A. However, this activity fails if triggered before the first assignment in Case B is opened—either declaratively or explicitly. The error indicates that the pzInsKey for Case B doesn’t exist, even though the case is successfully created and the key is available.
Expected Behavior: The relation should be established immediately after Case B is created, without requiring the case to be opened manually by a user.
Observed Behavior: The pzRelateCase automation works only after the first assignment in Case B is opened. It fails beforehand with a message about the pzInsKey does not exist. Question: Why is Case B not accessible for relationship automation until the first assignment is opened, and how can we ensure that Case B is available for pzRelateCase immediately upon creation?