Hi All,
There is one standard table HcmWorkerBankAccount. If i have system admin role then i can get data from form data source (HcmWorkerBankAccount), If i have remove system admin role unable to get data from form Datasource. when i check in back end i got one policy related to this table. I created one role and added this table to the role and granted all access but still unable to retrieve data.
What should i do need to do to get data even sys admin role is not there. Do i need to create a separate role and map this policy. How to do this?
Thanks in advance.
Hi, Are you able to access Worker Bank accounts form from UI (with Non Sys-Admin account) and only worker attached to user's data is visible? If yes, then it would be due to XDS
alexdmeyer.com/.../
Hi Mohit,
Thanks for the reply.
Without sys admin role , delete option is visible in form
I tried creating a new Security role and assigned only these privileges and able to see the workers and their bank accounts.
I can also create and delete bank accounts but not able to get data in code.
As Mohit suggested it is due to XDS. For example even if you have admin access also, you cannot see workflows waiting for some manager approval. Only the user with manager role can see them.
But I don't understand if you can do this by admin role, why you want to remap or to recreate a new role? Are you saying even with admin, you cannot get data from code in backend?
Hi Bharani,
Thanks for the reply,
I can get data in backend with sys admin role.
But i can't assign sys admin access to all users. I need to do with separate role only.
How to get data in backend for this HcmWorkerBankAccount table without sysadmin .
what should i need to do. Kindly advise me.
Thanks
Without system admin role, if you want to get data means you should be that user with that role where you can get data. I would suggest you to check this with FC for which roles can this data be seen. So you can assume that role or create a new role which is similar that role which FC is mentioning.
PJ JohnPaul Can you try disabling XDS policy in your code. (I'm not sure if its best practice but please check if it works). If it works then you have to check the User's role as well, so it won't work for all non admin roles.
ievgensaxblog.wordpress.com/.../
Hi mohit,
Disabling xds is also not working.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 703 Super User 2025 Season 2
Martin Dráb 582 Most Valuable Professional
CA Neeraj Kumar 542