How to Remove pyWorkIDPrefix And Custom Case ID

 Hi All!!

In this blog we will see how to remove pyWorkIDPrefix and give custom pyID for child cases

Ex:- Parent case ID = ABC-2001  then Child case ID = ABC-2001-1 for first child and ABC-2001-2 for second child case.



To remove pyWorkIDPrefix of any case follow below steps



First from Dev Studio Go to Application ---> Definition


And Save the rule.

Now Go to Case types--->Settings--->General--->Empty Case ID Prefix field and save the rule.


Now open the pyDefault data transform App Explorer ---> Enter Child CaseType Class ---->Data Model

----> Data Transform----> pyDefault




Add above steps, specially add   .pyWorkIDPrefix  equal to  ParentPage.pyID+"-"





Now run the case type, Here, I am adding Parent Case pyID as prefix to Child case ID.


Thank you!! Will see you all in next blog post 😊. 



Comments

Popular posts from this blog

Frequently Used Date Expressions In Pega

pxSubscript and pxListSubscript Properties In Pega

pyForEachCount In Pega