Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated per RDPP-3968

...

  1. Click the Create Flow  icon associated with updating or inserting a simple user.
    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: Upsert a user
  4. Select the upsert method.
  5. Select Parameters.
  6. Configure the value parameter according to the upsert parameters in listed in Flow orchestration. If the Selector parameter type is selected from the Selector drop-down menu, as you begin typing in the value parameter field, a drop-down menu of valid parameter configuration options will be displayed. You may select a configuration from the listed options or continue typing to manually enter a parameter configuration. For additional information on the Model node and General node configuration parameters, refer to Flow Orchestration.
  7. Select Outputs.
  8. Configure the outputs per the upsert outputs listed in Flow orchestration.
  9. Select and pull a Set Context node onto the flow editor from the Core list.
  10. Name the node: Set location
  11. Select Parameters.
  12. For the value parameter, select Selector and enter $.model.id in the field.
  13. Connect the insert output of the Upsert a user node to the input of the Set location node. For additional information on connecting nodes in a flow, refer to Manage nodes.
  14. Select and pull an HTTP node onto the flow editor from the Core list.
  15. Name the node: Upsert succeeded
  16. Select Parameters.
  17. For the status parameter, select Number and enter 204 in the field.
  18. Leave the body and headers parameters disabled.
  19. Connect the update output of the Upsert a user node to the input of the Upsert succeeded node. For additional information on connecting nodes in a flow, refer to Manage nodes.
  20. Select and pull an HTTP node onto the flow editor from the Core list.
  21. Name the node: Insert succeeded
  22. Select Parameters.
  23. For the status parameter, select Number and enter 404 in the field.
  24. Leave the body parameter disabled.
  25. Enable the headers parameter, select Selector, and enter $.headers in the field.
  26. Connect the insert output of the Upsert a user node to the input of the Insert succeeded node. For additional information on connecting nodes in a flow, refer to Manage nodes.
  27. Connect the next output of the Set location node to the input of the Insert succeeded node. For additional information on connecting nodes in a flow, refer to Manage nodes. The completed flow is displayed.
  28. Click Save.
  29. On the next screen, click Proceed. The server will be restarted and the Upsert a user flow will be saved and enabled.