I am displaying a harness on launch of a portal. I have a link in that Harness. On click of the link, I have to create a new workobject(Case). I used OOTB Action items on link to do so. The case is getting created, but in a new Window.
My requirement is to create the case in the same window. The harness screen should be replaced with the flow assignments. That is, when i click on link, next screen should be the assignment screen that I defined in the case. Can someone help me on achieving this?
***Updated by Moderator: Marissa. Removed user added #helpme and Ask the Expert group tags. Apologies for confusion, shouldn't have been an end-user option; updated categories***
If you use creatework event on click of the link it would crete new case and display it in new window. If you want to display new work case in same window try creating case with addwork and then open the assignment using openworkitem.
I created an activity in Data-Portal with the following steps.
1) Page-New(Work is the page name I gave in pages and classes) of my WorkClass type. I called pxCreateTopCase and copied that id into my workpage(Work)
2) Did OBJ-SAVE on my work page
Referred this activity in the link actions tab.
Referred the Open Work Item and passed Work.pyID as ID.
Ran the portal. I got an error "empty work handle". I felt its not taking that Work.pyID. Instead, I hardcoded the pyID value and tested. I got the same error again. Please let me know if my approach is correct.
When you are calling pxCreateTopCase you need to select commit option, and in the next step do a obj-refresh and lock step in the activity and let me know if that works.Please note for Obj-refresh and lock do select ReleaseOnCommit.