Get Users
Use the Get Users action to retrieve details of one or more users from your Salesforce account.
Complete the following steps to use the Get Users action in your workflow:
1. Drag the Get Users action under Salesforce to the canvas, place the pointer on the action, and then click or double-click the action. The Get Users window opens.
2. Edit the Label, if needed. By default, the label name is the same as the action name.
3. To add a Salesforce connector type, refer to Supported Salesforce Connector Types.
If you previously added a connector type, select the appropriate Connector Type, and under Connector Name, select the connector.
4. Click TEST to validate the connector.
5. Click MAP CONNECTOR to execute the action using a connector that is different from the one that you are using to populate the input fields. In the Runtime Connector field, provide a valid Salesforce connector name. For more information about MAP CONNECTOR, see Using Map Connector.
6. Click Show additional fields.
7. In the Search Criteria list, select the search criteria that you want to apply to retrieve data:
Match All Filters—Data is fetched if the criteria set in all the filters match.
Match Atleast One Filter—Data is fetched if the criteria set in any of the filters match.
If you do not set any filter, details of all users are retrieved.
8. Select Form to provide inputs for individual input fields listed in the form, or select Assign JSON to specify a single JSON with all required inputs.
If you chose Form
Under the Filter section, click Add, and do the following:
a. In the Field Name list, select or specify the field name on which you want to apply the filter.
b. In the Operator list, select the operator that you want to apply on the filter.
c. In the Value field, provide the expected value of the filter. Multiple values are supported for IN and NOT IN operators.
Click Add to add multiple filters. Click to delete any filter that you added.
If you chose Assign JSON
In the Filter field, provide all required inputs in the [{"Name":"string", "Operator":"string", "Value":"string"}] format.
9. In the Starting Index field, provide the starting index from which you want to the fetch the record. You can specify a value up to 2000. If you specify a value more than 2000, it returns an error.
10. In the Record Size to be Returned field, provide the size of the record to be returned.
11. In the Sort by Field list, select or specify the name of the field by which you want to sort the response.
12. In the Sorting Order list, select Ascending or Descending to sort the result.
13. Click Done.
Output schema
Was this helpful?