How to check a value in value list in when rule?
Use the function [email protected]("abcde",OperatorID.pyAccessGroupsAdditional)
Use the function [email protected]("abcde",OperatorID.pyAccessGroupsAdditional)
Hi
Could you try "PropertyListContains" function to check value in valuelist.
Syntax: @Default.PropertyListContains(strListReference,strScalarValue,insActivity)
Example: @PropertyListContains("pxThread.pxApplicationRuleSets", "PegaKPI", this)
Thanks
Value list can be converted to a CSV with a function 'pxStringCSVFromValueList' and can be used.
To iterate over a value list in Data transform, we can Convert the valuelist to CSV with above function, and call pxIsinListofValues function to check whether a value is present in value list or not.
@pxIsInListOfValues(Param.Parameter,@pxStringCSVFromValueList(pyWorkPage.pxCoveredInsKeys)) is the overall syntax to 'IsinValueList' functionality to obtain from DT
Value list can be converted to a CSV with a function 'pxStringCSVFromValueList' and can be used.
To iterate over a value list in Data transform, we can Convert the valuelist to CSV with above function, and call pxIsinListofValues function to check whether a value is present in value list or not.
@pxIsInListOfValues(Param.Parameter,@pxStringCSVFromValueList(pyWorkPage.pxCoveredInsKeys)) is the overall syntax to 'IsinValueList' functionality to obtain from DT
instead of @pxIsInListOfValues , @contains can be used
the overall syntax is : @contains(@pxStringCSVFromValueList(.pxCoveredInsKeys),Param.lookforstring)
Question Solved
Question
Question Solved
Question
Question
Question Solved
Question
Question
Question Solved
Question
Pega Collaboration Center has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.