Trigger LDAP import from Flow Designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2022 02:08 PM
We want to trigger an LDAP import of users from a particular domain after we create objects in the domain (and allow for domain replication) in Flow Designer. We do it so that the object we created in AD will exist in the platform for follow-up actions.
Even with the listener interval set low (15 minutes), we still want to trigger the LDAP imports. Is there a record that we can create to instantiate the LDAP import, or should it be scripted (and if scripted - I don't even know what we might be trying to accomplish or how we trigger the same effect as the 'Execute now' button activity).
- Labels:
-
Integrations
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2022 10:33 AM
Hey David,
I'm not 100% sure what exactly you are wanting, so I'll go with the platform data imports instead of the IntegrationHub imports for my first answer attempt (if I'm going the wrong direction let me know!).
- You have an LDAP Data Source for LDAP objects (user or group?)
- Create a Scheduled Data Import (This can be left as 'active=false' or 'run=once' if you only want this called from a flow or ad hoc)
- Create a custom action in Flow Designer
- Input is a reference variable to the Scheduled Data Import from above
- Only 1 step - a Script step needs be created
- Map the action input to the script variable inputs
- run the following code:
gs.executeNow(inputs["Scheduled Data Import Variable Name"]);​
- See here for documentation for the executeNow() function
I hope this helps, if you are looking for a different approach, let me know.