Workflow Soluiton

 View Only
  • 1.  Embedded Model End Component Mapping

    Posted Apr 13, 2011 11:41 AM

    I have a small process I'm currently working on for comparing our Active Directory data to our HR data to programmatically add a few extra details into AD such as employee ID, etc.

    I had 4 components sitting in the model for stepping over a FoundUsers (generated from User List component) and examining the CommonName to make sure it was "human". I decided to throw this into an embedded model component to clean up the model a bit and to encapsulate that logic. The results of this operation are used to populate a listbox component on a webform to facilitate the selection of an Active Directory user to compare their HR data.

    After moving these 4 components into an embedded model I no longer have the ability to set the "items" of my listbox component (using datatype, ADUserInfoSummary) to my "Legit Users" array. I don't see a way to map "Legit Users" to the end component within my embedded model. I have included a screenshot to better illustrate what's going on.

    Here's the screenshot



  • 2.  RE: Embedded Model End Component Mapping
    Best Answer

    Posted Apr 13, 2011 11:47 AM

    Right click the Embedded Model component and choose 'Edit Component'. Click the ellipsis next to 'Output Data' and declare your Variable Name and Data Type there. Put a check in the 'Is Array' checkbox and click OK. Now open up the embedded model and double click the end component and you should be able to map it there.



  • 3.  RE: Embedded Model End Component Mapping

    Posted Apr 13, 2011 03:03 PM

    Awesome! That worked. Now i just need to figure out why i have extra accounts  I didn't see before. Further than I was though.

    Update: Fixed the issue, I forgot i'd swapped my listbox over to show the "foundusers" array earlier.