Discussion
5
Replies
1357
Views
Posted: February 20, 2015
Last activity: June 11, 2016
Closed
Error while running case
Below is error message im getting:
The property pyWorkPage.pyWorkParty(Owner) was of mode String while com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.getPageValue() was expecting Page mode.
What should i do to overcome?
Dear Paul,
I have come across this before and it's particularly perplexing. However, recently I found a workaround that worked for me, you can help me test if it works for you!
1. In Case Designer, remove the subcase giving this problem from the parent case
2. Add the subcase back to the parent case again, then try running it
If the above 2 steps doesn't work, try in this sequence instead:
3. Refactor the problem subcase class DesignerStudio > System > Tools > Refactor Rules > Rename Class. Rename to anything, e.g. SAE-HRServices-Work-Temp
4. After completing the refactoring, redo step 3 again, but this time changing the name back to the original class name
5. Repeat steps 1 & 2 in the Case Designer.
Do give this a go and let us know what worked for you.
Regards,
Teng Hao Chua
Pega Academy Support Team