Hi all, I am having a microflow with a string parameter that contains an entity name (Eg., Student, MyFirstModule.Student) If the string is MyFirstModule.Student, It should retrieve data from the student entity, If the string is MyFirstModule.Teacher, It should retrieve data from the teacher entity . With this string How can I retrieve entire data from the respective entity? Note: I cannot use OQL query as Execute OQL statement activity requires an entity that needs to be configured. Java action type parameter. Not sure how to use it by giving only string as input. Any help will be highly appreciated, Thanks in advance.
asked
Rishi Sundar
1 answers
0
Hi Rishi,
Your Java action should be string or object anything pass as a parameter
Use sql query like we use ‘Select * from Student or Teacher’ try these and let me know