- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2024 07:20 AM
Hello All,
I'm stuck with an approval I can't seem to figure out, I'm fairly new to scripting so I apologize if this is something simple.
All of our approvals for the company are sent to the General Manager of a department. Some forms have a reference field that pulls the users department then a second field that pulls the GM of that department. for those requests I'm just pointing to the variable general_manager to send out the approval to the correct person.
For some of our other requests we don't want the requested for fields on the request form so I need to pull this information based on who is opening the request. Below is the path to the General Manager (primary_contact). I thought about having a hidden variable on the form that I could point to but can see this becoming a problem down the road with some of the forms currently in our backlog. Any help is much appreciated!
sys_user -> cmn_department -> primary_contact
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2024 11:13 AM
Thank you for the link Sumanth, I actually figured it out on my own without scripting. I completely skipped over the fact I could use the tree picker and find opened by -> department -> general manager. That link had some useful information in it though so thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2024 07:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2024 11:13 AM
Thank you for the link Sumanth, I actually figured it out on my own without scripting. I completely skipped over the fact I could use the tree picker and find opened by -> department -> general manager. That link had some useful information in it though so thank you!