- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2018 05:14 PM
Hi all,
I'm setting up an orchestration for adding users to AD Group using the "Add user to AD Group" activity in my workflow. One of the fields is domain controller...how do I get the value for this? Is it necessary to run a "Probe" activity?
thanks!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2018 10:16 AM
Yes, you can do that too. I add server url when user is imported so I have below in my Tranform Map script
// Set the source LDAP server into the target record
target.ldap_server = source.sys_import_set.data_source.ldap_target.server_url;

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2018 06:07 PM
you can hard code value like xyz.com or dc001.xyx.com. I prefer to store domain controller server name in sys_properties and do gs.getProperty('xyz') in activity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2018 07:35 AM
Hi Mike,
thanks for the reply. How do I know what the value is though? We have our LDAP setup already, would the URL be in that setup somewhere?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2018 10:05 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2018 10:16 AM
Yes, you can do that too. I add server url when user is imported so I have below in my Tranform Map script
// Set the source LDAP server into the target record
target.ldap_server = source.sys_import_set.data_source.ldap_target.server_url;