Associating Departments with Users
Updated: 13 Jul 2010 | 6 comments
I am trying to create a Hardware request workflow, inwhich a user fills out a form and submits it. Based on the users id i would like to have approval request sent to their manager. My question is....How can i associate a user (based off of the "FoundContacts[First].ContactName) with their manager?
Is there a component that can fetch a users manager or Department, similar to the getComputerinfo component?
discussion Filed Under:
Comments
GetServiceDeskContactManager
Use the "GetServiceDeskContactManager" component
- Bruce
*** If a forum post solves your problem, please flag it as a solution. If you like an article or forum post, vote it up. ***
Is there anything that i need
Is there anything that i need to configure on the NS side to associate a department with a user?
I'm also wondering what to
I'm also wondering what to configure on the NS Side associate a department with a user (how does this component "GetServiceDeskContactManager" work?)
It's Based on AD
If you are importing user information from AD, and the Manager field is filled in in AD, it will be avaialble to you in NS so you can pull it with the component.
If it it not in your AD record, then this component will not work.
Rob
Thanks for the quick
Thanks for the quick reply!
The manager field isn't filled in in our AD, so I guess I'll have to implement a workaround for now.
This query:
select * from vDepartment
join ResourceAssociation
on vDepartment._ResourceGuid = ResourceAssociation.ParentResourceGuid
join vUser
on ResourceAssociation.ChildResourceGuid = vUser.Guid
where resourceassociationtypeguid = '80EC2411-9F8B-43D6-BBCF-CF730B771E1A'
seems to contain the info I need, so I guess I'll create an integration component.
Thanks again.
John
You could populate this info in AD...
If you have a HR department that can give you the manager info, you can create a simple workflow that will update this info in AD. We have a nightly process that updates our AD from information in the HR database.
All you need is some information in AD that is also in your HR database so you can match records. Then it's just a simple matter of updating the manager field in AD.
The reason I suggest this is because presumably your HR information regarding managers is always up to date (authoritative), and having to keep that info straight in NS will likely take up lots of your time (at least it would in my company, we have managers move and people transfer pretty much all the time!). So having an automated process removes that problem and also makes all your other WF processes much easier (such as escalations to managers, etc...)
rob
Would you like to reply?
Login or Register to post your comment.