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.
**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.
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.
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.
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.
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.