Skip to end of metadata
Go to start of metadata

To configure a find a user by ID flow:

  1. Click the Create Flow  icon associated with finding a simple user using their ID.
    The API Orchestration user interface is displayed.
  2. Select and pull the simpleusers node onto the flow editor from the Models list. Note that the Start node is automatically connected to the input of the simpleusers node.
  3. Name the node: Find a user by ID
  4. Select the findByID method.
  5. Select Parameters.
  6. Configure the id parameter according to the findByID parameters in listed in Flow Orchestration.
  7. Select Outputs.
  8. Configure the outputs per the findByID outputs listed in Flow Orchestration.
  9. Select and pull an HTTP node onto the flow editor from the Core list.
  10. Name the node: Find succeeded
  11. Select Parameters.
  12. For the status parameter, select Number and enter 200 in the field.
  13. Enable the body parameter, select Selector, and enter $.model in the field.
  14. Leave the headers parameter disabled.
  15. Connect the next output of the Find a user by ID node to the input of the Find succeeded node. For additional information on connecting nodes in a flow, refer to Manage Nodes.
  16. Select and pull an HTTP node onto the flow editor from the Core list.
  17. Name the node: User not found
  18. Select Parameters.
  19. For the status parameter, select Number and enter 404 in the field.
  20. Leave the body and headers parameters disabled.
  21. Connect the notfound output of the Find a user by ID node to the input of the User not found node. For additional information on connecting nodes in a flow, refer to Manage Nodes. The completed flow is displayed.
  22. Click Save.
  23. On the next screen, click Proceed. The server will be restarted and the Find a user by ID flow will be saved and enabled.
  • No labels