Workflow Soluiton

 View Only
  • 1.  Display a List of all altiris contacts

    Posted May 05, 2010 01:55 PM
    I would like to display in a dropdown the list (in workflow 6.0) of all active users in the altiris contact table (this part I have done).  I also want the list to default to the name of the person who is currently connected to the webfrom.  I have the information of the NT_ID from the get current user component but i'm not sure how to use this information to have the dropdown default to that person name.  Any ideas?  Does my SQL need more info in then just
    Select name, NT_ID, EMail
    from Contacts
    were status = 'a'
    order by name


  • 2.  RE: Display a List of all altiris contacts

    Posted May 05, 2010 02:10 PM

    I have never tried this before but I'm thinking you could click the ellipsis next to "Selected Item" in the dropdown component and set it to 'Dynamic Model'. Then use a Configurable Collection Filter to filter out of the array of Contacts the one Contact that matches NT ID with the logged in user. Unfortunately I have no time to test this right now but seems like that should work.



  • 3.  RE: Display a List of all altiris contacts

    Posted May 05, 2010 02:13 PM

    If I click on the ellipsis next to "Selected Item" I get Dynamic Vaule and when I choose that I can edit Data mapping but tha doens't seem to do anything unless I'm not using it corretly.



  • 4.  RE: Display a List of all altiris contacts

    Posted May 05, 2010 02:30 PM
    Is that a DropDownListComponent? I have four options under Selected Item for mine: Process Variables, Dynamic Value, Dynamic Model and Contstant Value


  • 5.  RE: Display a List of all altiris contacts

    Posted May 05, 2010 02:32 PM

    Got it to work by doing the following.  Click the ellipse next to selected item and choose dynamic value.  I NTID from data definitions (output of get current contact) to name under contacts results (output of my integration to pull names of active contacts).  I then right click on the link and converted it to to process mapping assignment. I edited it and then click on the ellipse next to version model and used find service desk contact to return the name of the current contact.  Now it displays the name of the user who is currently logged in but still displays all other users names so if they are submitting the request for someone else they can do so.
     



  • 6.  RE: Display a List of all altiris contacts

    Posted May 05, 2010 02:40 PM
    Glad you got it to work your way. That's probably a better solution  :)