Display LDAP Query Results from Workflow in a Form

  • 2 August 2016
  • 1 reply
  • 23 views

Badge +4

Hello,

I am looking for a way to display LDAP query action results from Workflow in to a Nintex Form. Specifically, we are querying LDAP with Workflow to get a user's AD group memberships. We would then like to let the end user see the results so they could potentially request a change of membership if needed. Any ideas on where to start?

Thanks,

William


1 reply

Badge +3

Hi William,

You have two options here, once you have queried LDAP:

1)  you can return the results as a String or a collection. In order to show them on a form you can simply add the results to a multiline of text.

2) However if you want to save them in a repeating field this gets a little more tricky.  Best thing  to do is create a repeating field on a form and map the field to a multiline of text, save an example and check the form data for the XML format that it saves.  You would then need to recreate this XML in the workflow with a build string function and loop through the collection of groups, aadding relevant XML as you go matching the repeating field XML.  This will add all groups to the form in the repeating field

Let me know if you need some kind of example.


Craig

Reply