Advertisement
Guest User

Sample Org Units Flow

a guest
Oct 9th, 2018
1,376
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.96 KB | None | 0 0
  1. [{"id":"a5d40d93.b0cbf","type":"tab","label":"Sky's the limit","disabled":false,"info":""},{"id":"7224b616.cc3c48","type":"debug","z":"a5d40d93.b0cbf","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":475.00001525878906,"y":173.0000228881836,"wires":[]},{"id":"9a357037.2a939","type":"orchestrator request","z":"a5d40d93.b0cbf","name":"Assets: Get All","nameSet":false,"connection":"b94494f1.7affe8","category":"Assets","action":"GetAll","params":[{"key":"X-UIPATH-OrganizationUnitId","type":"flow","value":"orgUnit"}],"x":299.00001525878906,"y":172.00001907348633,"wires":[["7224b616.cc3c48"]]},{"id":"8a75dab5.f30638","type":"inject","z":"a5d40d93.b0cbf","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":133.00000762939453,"y":172.00001907348633,"wires":[["9a357037.2a939"]]},{"id":"e726994.5080f68","type":"inject","z":"a5d40d93.b0cbf","name":"Get ID","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":true,"onceDelay":0.1,"x":128.08332443237305,"y":74.96875762939453,"wires":[["25ae002a.babff"]]},{"id":"25ae002a.babff","type":"orchestrator request","z":"a5d40d93.b0cbf","name":"for Default org unit","nameSet":true,"connection":"b94494f1.7affe8","category":"OrganizationUnits","action":"GetAll","params":[{"key":"$filter","type":"str","value":"DisplayName eq 'Default'"}],"x":279.0764617919922,"y":74.85416984558105,"wires":[["3b2925f2.37b2da"]]},{"id":"3b2925f2.37b2da","type":"change","z":"a5d40d93.b0cbf","name":"& save it globally","rules":[{"t":"set","p":"orgUnit","pt":"flow","to":"payload.data.value[0].Id","tot":"jsonata"},{"t":"set","p":"payload","pt":"msg","to":"orgUnit","tot":"flow"}],"action":"","property":"","from":"","to":"","reg":false,"x":470.0833282470703,"y":74.84375953674316,"wires":[[]]},{"id":"b94494f1.7affe8","type":"orchestrator connection","z":"","name":"Beta","url":"https://beta.uipath.com","ssl":false,"tenant":"dean","user":"admin"}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement