Can you tell where exactly you are calling from in the child case? and be more clear on the requirement
As per my understating if the requirement we can call pyworkpage.pxstagehistory(<LAST>).pxprocess(<LAST>).pxProcessName).pxAssignmentKey in the parameters of the open assignment connector by assigning to a variable.
Yes, I am trying to open parent case in perform mode using "Open Assignment" action from Child Case. if we use pyworkpage, it will get the child assignment which is not I am looking for.
I am tried to set the value "pyWorkCover.pxstagehistory(<LAST>).pxprocess(<LAST>).pxProcessName).pxAssignmentKey" to a property in a data transform in pre flow action processing. it is working from online mode.
But, I have same requirement from Offline Mobile also. As, data transforms are not supported in Offline Mobile, this will not work. I need to form this in open assignment key only.
Instead of directly taking value from pyWorkCover(pyWorkCover.pxFlow(pyWorkCover.pxStageHistory(<LAST>) .pxProcesses(<LAST>).pxProcessName).pxAssignmentKey) can you once try opening the parent case using Obj-Open-By-Handle and try to take value from the opened object page.
Have a data page of requestor scope, which is loaded with an activity . added a step in activity to set "pyWorkCover(pyWorkCover.pxFlow(pyWorkCover.pxStageHistory(<LAST>) .pxProcesses(<LAST>).pxProcessName).pxAssignmentKey)" to a property and referred that property in open assignment key.\
so my property will have latest assignment key on every time user login.