I am trying to get the object name dynamically through getName but it insufficient privilage issue.
Hi,
you got already the object retrieved in your code where you use IDataObject atoObj = info.getDataObject();. Agile PLM is throwing an exception because the roles and privileges which are used to EXECUTE the PX are insufficient. As an example it is like a agile user that has no right to read or modify a object. Providing your PX with the necessary privileges should solve this issue. Let me know if this solved your issue.
regards,
Dennis