Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Associating Departments with Users

Updated: 13 Jul 2010 | 6 comments
pwilson's picture
0 0 Votes
Login to vote

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

matzebru's picture
19
May
2009
0 Votes 0
Login to vote

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. ***

pwilson's picture
19
May
2009
0 Votes 0
Login to vote

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?

jz81's picture
11
Jan
2010
0 Votes 0
Login to vote

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?)

Rob Moore's picture
11
Jan
2010
0 Votes 0
Login to vote

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

jz81's picture
11
Jan
2010
0 Votes 0
Login to vote

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

Rob Moore's picture
11
Jan
2010
0 Votes 0
Login to vote

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