Clarity on creating tables and how to use them in workflows.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2022 08:24 AM
Hello!
I am trying to get some clarity on creating custom tables and how they interact with a workflow. I have a catalog item, File Share Access, that requires the destination folder Department Head approval, the Requested For Manager approval, and a final group approval from our Admin team. The last two are easy to implement, but the Department Head approvals are giving me an issue. I created a new table called File Share Access Approvers with two new columns - Department Approver and Folder Name.
Here are a few questions:
What type of fields should those be? Currently I have the Department Approver as a Reference field to the User table and the Folder Name as a String field.
Second, how do I associate the Folder Names to the select box on the catalog item? I need certain people to approve based on what is selected in the dropdown menu.
Once I have the Folder Name field matching the variables on the catalog item, how do I associate the Department Approver field to each folder?
Finally, I'm guessing there's a glide record script to reach this custom table and approvers?
Sorry for the confusion, but I feel like I've signed up for a requirement that's a bit out of my scope lol. I'm getting there, but I'm learning as I go! Thank you for your patience and input.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2022 09:01 AM
Instead of creating this, create groups for the department and use group manager flow (OOTB) as head of department
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2022 09:41 AM
Would I do this in Flow Designer or Workflow Editor?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2022 07:36 AM
I recommend to go with Flow designer , you will get OOTB sub flow in same.
Mark helpful, if it solve the purpose.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2022 07:22 AM
Hello @Tyler Jones,
Why not just use the "If" flow logic in your flow
for instance
IF:
condition
the field name of the drop-down and give it one value
THEN:
use the ask for approval action and give it the appropriate approver
If this was helpful, hit the Helpful button.