Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Areteans
US
Last activity: 16 Oct 2018 12:03 EDT
Not able to navigate back to the temporary object tab in the CPM 7.22
In the home screen configure a button to create work. On click of this button create a temporary case which opens a new tab. Navigate back to the home screen try to come back to the temporary case tab. on click of temporary tab it is throwing an exception which says "Empty Work Item Handle".
Is there any hotfix for this or any work around to fix this issue?
I hope it is well explained. Please let me know if you have any question to understand the scenario.
Thanks
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
US
Hello,
Hello,
I would try the suggestions in these two articles to give it a stub id.
https://pdn.pega.com/support-articles/temporary-work-object-tab-not-getting-closed
https://pdn.pega.com/support-articles/tab-not-getting-closed-after-persisting-temp-wo
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Areteans
US
These articles is to close the temporary tab. But my question is focusing back to the temporary case tab.
Thanks
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
US
Certainly understand but it sounds as if the issue upon navigating back is the lack of an idenitifer which is assoictaed to the tab that is corrected by the first article sent over.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Areteans
US
Both articles talk about closing the temporary WO. But those articles doesn't answer my scenario.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
PEG
US
In the first article, you can see this:
For any temporary Work Objects the pyID will not be set. The behavior when clicked on close for temporary Work Object in plain PRPC and for CS its different. (That's the reason issue is not faced when user is closing a temporary work object in plain PRPC.) In CS, for the temporary Interaction Work Objects, using a Data Transform "CPMCheckAndSetTempID" , pyID for interaction work object is set as "Temp-XYZ". And this data transform is added in the pyDefault data transform of the application specific Work- class
In the first article, you can see this:
For any temporary Work Objects the pyID will not be set. The behavior when clicked on close for temporary Work Object in plain PRPC and for CS its different. (That's the reason issue is not faced when user is closing a temporary work object in plain PRPC.) In CS, for the temporary Interaction Work Objects, using a Data Transform "CPMCheckAndSetTempID" , pyID for interaction work object is set as "Temp-XYZ". And this data transform is added in the pyDefault data transform of the application specific Work- class
It is the lack of the pyID that causes the problem. If you use the CPMCheckAndSetTempID artifact, you will have an id (the example shows Temp-XYZ), and you should be able to then switch back to that tab.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Areteans
US
I have pyID set for the tab still i m not able to navigate back to the tab. When i click on the tab it throwing an exception "empty work item Handle" because in the Portal Recent Data Page for this tab the execute action is set as openWorkByHandle but it doesn't have handle as it is temporary object. Please have a look at attachments. These pages are getting set while launching a new tab.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
PEG
US
It does sound as if what you are trying to do is not supported. I'm not surprised, as it was never intended that Temporary objects would be more than placeholders on the clipboard for holding information while ensuring that they did not get written to the database.
That said, what happens if you manually take care of inserting the made-up pyID into the proper Data Page? Are you then able to do the switch? If the answer is yes, they you will probably need to find some way to have this field populated by your own code; or by customizing a (non-Final) out-of-the-box rule.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Capgemini Technology Services
IN
Hi Ambresh,
Did you resolved the issue? I am facing similar issue.
Can you please suggest the needful?
![](https://accounts.pega.com/sites/default/files/pega-user-image/209/REG-209263.png?source=PUMINIT)
![](https://accounts.pega.com/sites/default/files/pega-user-image/209/REG-209263.png?source=PUMINIT)
Pegasystems Inc.
IN
Hi,
Thank you for posting your query in the PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write a Post button that’s available on the top right pane of this page. Once created, please reply back here with the URL of the new post.
You may also refer this discussion link as a reference in the new thread.