Posted: 6 Dec 2017 19:15 EST Last activity: 7 Dec 2017 6:21 EST
Any idea what does the when rule 'pzIsFromBulkAction’ do?
We have a problem in production, where Pega is trying to find this rule in a specific Data class, but this rule exists in the base class 'Work-'. As a result of this, the data is not getting saved to this specific data class.
Error: Please refer to the attached screenshot
But, in the lower environments the Data class doesn't have this when rule and the data is getting saved without any error.
Adding to my colleague Ujjwal, please share the PegaRULES logs capturing the reported issue to investigate further.
Coming to your question about this when rule:-
"pzIsFromBulkAction" is checking the value of a boolean property "pzIsFromBulkAction". And this property is referenced or updated from "pzBulkCreateCases" and "pzBulkUpdatePostProcessing" activities. As the name of these activities suggests, it set value as "true" as bulk processing happening.
And this "When" rule is validated in the "UpdateWorkObject" and "GenerateID" activities to add audit note for bulk processing in the history table.