Question
EY Advisory & Consulting Co., Ltd.
JP
Last activity: 20 Nov 2018 14:29 EST
Is it possible to migrate data from property A to property B in resolved cases
I want to migrate data from property A to property B in resolved cases.
Is it possible?
***Edited by Moderator Marissa to update platform capability tags****
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Aaseya IT Services Pvt Ltd
GB
Do you mean, do you want to run any utility to do so?
If yes, then Yes, it is possible.
-
Ratibor Beznosov
EY Advisory & Consulting Co., Ltd.
JP
Yes, I tried but I could not do that, because the resolved case could not be saved.
Please let me know how.
Pegasystems Inc.
FR
Well,
I think you will need an activity with an Obj-Open-By-Handle method on step 1 to open you resolved case in the clipboard. Then you can add your Property-Set method on step 2 to switch your property values. Finally an Obj-Save on step 3 and a Commit on step 4 and it should be all done.
EY Advisory & Consulting Co., Ltd.
JP
Thank you for your support.
I tried that but I could not change the data.
At Obj-Save step, the following error occurred because this instance had already been resolved.
>Cannot save a page with an instance of class xxxx-xxxx-Work: it is read-only
-
Bala Gangadhar Patuvardhanam Takefumi Kobayashi
Aaseya IT Services Pvt Ltd
GB
Do you want to share the snapshot of your activity?
EY Advisory & Consulting Co., Ltd.
JP
Yes please
Aaseya IT Services Pvt Ltd
GB
Hi, I am asking you to share the snapshot of your activity please. Also, are you using any data page as a step page?
Thanks,
Krishna M
EY Advisory & Consulting Co., Ltd.
JP
Please check my activity.
At Obj-Browse step, I get the subjected work item (case).
At Obj-Open-By-Handle, I open the subjected work item (case).
Aaseya IT Services Pvt Ltd
GB
Hi,
I tried this and it is working fine for me. please find the snap of activity.
I have below findings from your activity. ( note sure if that is the problem)
1. Initialize the CurrentCase Page (using Page-New)
2. Use CurrentCase Page as a step Page for the step 3.2 and 3.3
3. Did you try just Opening one case (using direct pzInsKey) and updating it ? without Obj-Browse?
4. Are you sure that the page class is correct? it seems like Work pool, do you have any other class under that? that you want to save?
Thanks,
Krishna M
EY Advisory & Consulting Co., Ltd.
JP
By using Obj-Open method, I could update the resolved cases.
Thank you,
CollabPartnerz
IN
can you try commit with error handelling