We have a requirement to create a 2nd Service Case with the assignment launching the flowaction from which the User submitted the current case rather than the default flowaction with highest likelihood. This is done by calling the function pega.desktop.createNewWork on click of a button in the 1st case. To launch the current flowaction from which the User submitted , the below properties are set on the newAssignPage in PerformDefaults activity
pyDefaultTaskStatus = PreviousFlowActionName
This approach is working in CPM 6 application, but in CPM 7, these values on newAssignPage are getting reset and the 2nd case always opens the Default flowaction.
Any help on how to achieve this in CPM7 is highly appreciated.