Unable to read the list of selected objects from folder for validateMultiselectedAction
Version: Windchill 12.0
Use Case: Validating all Selected objects with few conditions during validateSelectedMultiSelectAction
Description:
I am selecting multiple objects(Documents/Parts ) from the folder to perform to trigger an action which performs setState/Workflow initiation.
Here reading the list of objects from command bean/validation criteria returning the null.
When I am selecting one object it is returning the object and validateSelectedAction is executed with out any issues.
I tried multiple ways to get the selected objects by changing the window type= normal popup new no content and etc...
I also used different apis to read the objects but none is working.
All these api's were returning the selected objects like 2 months back now all of a sudden it all stopped returning the objects.
Used below apis to get the selected objects from the folder .
WTCollection targetObjects = new WTArrayList(criteria.getTargetObjects());
final List<NmOid> selectedListOidForPopup = nmCommandBean.getSelectedOidForPopup();
commandBean.getSelectedOidForPopup()
Same happened with the servletRequest where it was not returning all the selected objects as a work around I used the jsp as an intermidate point to read the selected objects and then redirected to customservlet storing these objects in an attribute.

