Hi Sanyogita,
Java action indeed can retrieve the associated object created in same microflow without any issue
below is my domain model and java action I am retrieving Single_Or_Multiple_Quesion entity from Questios entity which is created in same microflow , module name is fillablePDF
singleSelectOptions = Core.retrieveByPath(getContext(), question.getMendixObject(), fillablepdf.proxies.Single_Or_MultiSelect_Question.MemberNames.Single_Or_MultiSelect_Question_Questions.toString());
Hope it helps!
3 questions