PlicyOverride With Satuswork obj and some other prop to watch- Allow Work Object action is not working
I tried with simple example with PolicyAmt(Integer) and pyStatusWork with watch property. On Change When rule, .PolicyAmt>=100 and .pyStatusWork="Pending". It is throwing same error. It is happening only when try to allow work object action. But Deny Work object action is working fine.
[MSG][Exception][STACK][com.pega.pegarules.pub.clipboard.InvalidReferenceException: The reference .pxFlow() is not valid. Reason: unexpected character ')' at position 8, expected subscript (wildcards not allowed) at
I traced. Please find attached tracer dump. Tracer not helping. The error comes in tracer as well.
Can you please specify the PRPC version you have been using ?
I have tried inhouse in prpc 7.1.5 , with the configuration as :
1)set the property policy amt to 100
2)created a declare on change rule on properties to watch as : .pyStatusWork,.Policyamt , with when rule as : policy amt >100 and pyStatusWork=Pending , and configured an activity when true , to log a message .
I couldn't observe the above behaviour on running the WO .
Please elaborate on "It is happening only when try to allow work object action. But Deny Work object action is working fine "
Thanks for your reply. We are using Pega 7.2. Ploicy Override flow assignment get created( when Amt and status work conditions met). So far good.
I can do two diff actions 1. Either I can allow work object to continue flow(Means : Just Ignore Policy Override action /business exception) ==> Not Working. Throwing the log messsage/UI screen message. Messages already shared in original post.
2. Or I can deny Work object hence Work obj Resolved-Withdrawn( Mean just accept business exception let withdrwan case) ==> Working Fine