Find all users
2 minute read
To configure a find all users flow:
-
Click the Create Flow icon associated with finding all test users. The API Orchestration user interface is displayed.
-
Select and pull the testuser flow-node onto the flow editor from the Models list. Note that the Start flow-node is automatically connected to the input of the testuser flow-node.
-
Name the flow-node: Find all testusers
-
Select the
findAll
method. -
Select Outputs.
-
Configure the next output. As you begin typing in the next field, a drop-down menu of valid or previously used output options is displayed. You may optionally choose an output from the list, or continue typing to configure the parameter manually.
-
Select and pull an HTTP flow-node onto the flow editor from the Core list.
-
Name the flow-node: Find succeeded
-
Select Parameters.
-
For the status parameter, select number and enter
200
in the field. -
Enable the body parameter, select selector, and select
$.models
from the selector options drop-down menu or continue typing to manually complete the selector configuration. For additional selector auto-complete information, refer to Manage flow-nodes. -
Leave the headers parameter disabled.
-
Connect the next output of the Find all users flow-node to the input of the Find succeeded flow-node. For additional information on connecting flow-nodes in a flow, refer to Manage flow-nodes. The completed flow is displayed.
-
Click Apply.
-
On the next screen, click Proceed. The server will be restarted, the Find all users flow will be saved and enabled, and you will be returned to the API Orchestration user interface.
-
To exit API Orchestration user interface and return to API Lists page, click Close.