Workflow and ServiceDesk Community

 View Only
  • 1.  Create Additional Attributes List with process value

    Posted May 04, 2020 01:04 PM
      |   view attached
    Hi,

    I am stuck on a problem that should be simple to solve but I just can't manage to figure out how.

    I want to search in Active Directory with Get User List component on "Additional Attributes". How do I use process values in additional attributes? I can only enter constant values. I also tried to create a Data value of the type Additional Attributes and map with Value mapping, but since my process variable is of the wrong type I can't mapp it to the data value.

    I woud appreciate any hints or ideas you might have.

    ------------------------------
    Jonas Callander
    Linköpings Kommun
    Sweden
    ------------------------------


  • 2.  RE: Create Additional Attributes List with process value

    Posted May 06, 2020 03:15 AM
    Without jumping on a dev box and having a look I can only suggest using a scripting component instead:

    Examples of using the component, but not for your requirement so would need some tweaking

    Integrating LDAP and Workflow for Common Account Actions
    https://atmaworkflow.com/2015/01/12/integrating-ldap-and-workflow-for-common-account-actions/

    Custom C# Component – Adding a Computer to a Group in Active Directory
    https://atmaworkflow.com/2015/04/17/custom-c-component-adding-a-computer-to-a-group-in-active-directory/