# Workflow Application: GETUSERSFROMDIR usage

**URL:** <https://discuss.workflowgen.com/t/workflow-application-getusersfromdir-usage/489>\
**Category:** Workflow Applications\
**Created:** [January 11, 2017, 5:00am UTC](https://discuss.workflowgen.com/t/workflow-application-getusersfromdir-usage/489 "2017-01-11T05:00:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wfg-admin](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/wfg-admin/32/714_2.png) [@wfg-admin](https://discuss.workflowgen.com/u/wfg-admin)\
**Post date:** [January 11, 2017, 5:00am UTC](https://discuss.workflowgen.com/t/workflow-application-getusersfromdir-usage/489/1 "2017-01-11T05:00:00Z")

</div>

WorkflowGen’s **GETUSERSFROMDIR** workflow application is very useful, since it allows you to retrieve specific users from your directory and automatically assign actions to them. This article provides instructions on how to configure a GETUSERSFROMDIR action.

Before you start, make sure your directory is well maintained, since GETUSERSFROMDIR will launch specific conditions on your directory. If there is a discrepancy in the information, the directory will return no value.

1. In the Workflow Designer, create an action using the GETUSERSFROMDIR application.

2. On the **Parameters** tab of the **Edit action** screen, click the **+** to add a global parameter and define it using a data from the form.

3. Create a parameter and add your conditions:

4. On the **Data** screen, create a new data in which the information returned from the query will be stored.

5. On the **Parameters** tab of the **Edit action** screen, set an OUT parameter to fill the data.

6. Assign the next action to the user retrieved from the GETUSERSFROMDIR action using the **Automatic to the person** assignment method, then select the data you created in the **Retrieve users from** field.

---

<div class="post-metadata">

**Author:** ![stevenp](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/stevenp/32/94_2.png) [@stevenp](https://discuss.workflowgen.com/u/stevenp)\
**Post date:** [March 22, 2017, 12:43am UTC](https://discuss.workflowgen.com/t/workflow-application-getusersfromdir-usage/489/3 "2017-03-22T00:43:16Z")

</div>

Has anyone had an issue with Step #5 above? When I pull in the “RESULT\_LIST” available parameter, the Direction automatically selects “IN”. I am unable to select any outbound data into an element. I’ve noticed this is the case for every available parameter; they are all INBOUND parameters. Can anyone help explain this? Thanks!

---

<div class="post-metadata">

**Author:** ![jianan.hsu](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/jianan.hsu/32/411_2.png) [@jianan.hsu](https://discuss.workflowgen.com/u/jianan.hsu)\
**Post date:** [March 22, 2017, 2:29pm UTC](https://discuss.workflowgen.com/t/workflow-application-getusersfromdir-usage/489/4 "2017-03-22T14:29:30Z")

</div>

Hi,

The `RESULT_LIST` is defined as an OUT parameter in the GETUSERSFROMDIR workflow application as shown in my screenshot below. The step #5 is working as expected in my local WorkflowGen v7.1.1

If you need further help, please post a ticket to our support team.

 ![](https://canada1.discourse-cdn.com/flex030/uploads/workflowgen/original/1X/6e33ad0d795f2cac2b38f6f63c7982cef2b78500.png)
