{"id":19607167,"url":"https://github.com/robocorp/example-orders-distribution","last_synced_at":"2026-03-19T10:46:21.825Z","repository":{"id":103903243,"uuid":"539989864","full_name":"robocorp/example-orders-distribution","owner":"robocorp","description":"RobotSpareBin 3-Step Process for distributing orders by robot part type.","archived":false,"fork":false,"pushed_at":"2023-10-26T13:59:56.000Z","size":150,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-01-09T09:26:40.370Z","etag":null,"topics":["csv","desktop","pdf","tables","workitems"],"latest_commit_sha":null,"homepage":"","language":"RobotFramework","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robocorp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-22T13:14:51.000Z","updated_at":"2023-02-19T00:14:47.000Z","dependencies_parsed_at":"2023-07-26T03:46:27.596Z","dependency_job_id":"d1afd957-1922-41a3-a5fa-6320fe248a85","html_url":"https://github.com/robocorp/example-orders-distribution","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robocorp%2Fexample-orders-distribution","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robocorp%2Fexample-orders-distribution/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robocorp%2Fexample-orders-distribution/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robocorp%2Fexample-orders-distribution/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robocorp","download_url":"https://codeload.github.com/robocorp/example-orders-distribution/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240895129,"owners_count":19874932,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csv","desktop","pdf","tables","workitems"],"created_at":"2024-11-11T10:09:08.619Z","updated_at":"2026-01-30T00:44:17.389Z","avatar_url":"https://github.com/robocorp.png","language":"RobotFramework","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Order in bulk the total number of requested robot parts\n\nThis is a 3-Step Process which takes a list of orders and computes the total number of\nheads, bodies and legs that we have to order.\n\nThis is a funny practical approach of the\n[SplitCombine](https://github.com/robocorp/example-workitems-splitcombine) pattern:\n- Problem: Having to process multiple input Work Items before being able to create just\n  one output Work Item with the final result at the end of the iteration.\n- Solution: Creating an empty output Work Item attached to the initial input one, then\n  saving later on the final result data into it.\n\n![Process diagram](https://raw.githubusercontent.com/robocorp/example-orders-distribution/master/devdata/example-orders-distribution.jpg)\n\n\n## Tasks\n\n1. `Read And Split Orders`: Splits a list of orders from **robotsparebin-orders** input\n   Work Item into individual output ones.\n2. `Compute Number Of Parts`: Computes a total for every requested part type: heads,\n   bodies and legs. Then creates an output Work Item with the total.\n3. `Order The Parts In Bulk`: Generates an invoice with the total number of body parts\n   we have to order.\n\n\n### Notes\n\n- For the first task (#1) select the already present input Work Item to run with:\n  **robotsparebin-orders**\n- For every subsequent task (#2, #3) select as input the last output obtained from the\n  previous step. Example:\n  - Task #1: robotsparebin-orders\n  - Task #2: run-2\n  - Task #3: run-3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobocorp%2Fexample-orders-distribution","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobocorp%2Fexample-orders-distribution","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobocorp%2Fexample-orders-distribution/lists"}