Question

8
Replies
772
Views
anvith raj amancha (anvith_raj)
TATA Consultancy Services Ltd
Pega CSSA Developer
TATA Consultancy Services Ltd
IN
anvith_raj Member since 2017 1 post
TATA Consultancy Services Ltd
Posted: October 18, 2019
Last activity: October 21, 2019
Posted: 18 Oct 2019 7:02 EDT
Last activity: 21 Oct 2019 3:32 EDT
Closed
Solved

How to Get Parent Case ID to Child case ID

I have a requirement where parent id is A-150 , then if i create child case it should be B-150-1. similarly if parent id is A-151 then child should be B-151-1,B-151-2 ,so on.

I tried to set pyworkIDprefix in pydefault of child case , but unable to get the parent id at that instance.

pyworkIDPrefix= "B-"+ substring(pyWorkCover.pyID,2)+"-"

but when i run its showing child case as B--1,B--2 so on only.

Case Management
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.