Vamsi Thatavarthi (Vamsi.Thatavarthi)
Hcl Technologies

Hcl Technologies
Vamsi.Thatavarthi Member since 2014 35 posts
Hcl Technologies
Posted: September 30, 2020
Last activity: May 5, 2021
Posted: 30 Sep 2020 4:53 EDT
Last activity: 5 May 2021 17:05 EDT

PegaUnit When rule - Property * was of mode Page List while ClipboardPropertyImpl.setValueOver was expecting a String or Page mode

Hi All,

When I execute a PegaUnit test case written for a when rule which references Pagelist property, even though the test case shows success, there is an exception logged in Pegarules log as below.

Caused by: The property *** was of mode Page List while was expecting a String or Page mode. Details: (none) Post creating test case for a when rule referring a PageList property, I see that in assertion, a text box is displayed for Pagelist properties as well. It seems PegaUnit is considering it as a string property. Not sure why.

PFA, complete exception log.

Also, have attached screenshot of the assertion. InnerErrors is a pagelist property.


***Edited by Moderator: Pallavi to update Support Case details***
Pega Platform 8.2.1 DevOps Financial Services Senior System Architect Support Case Created