I have created a global table (Inventory) which contains the product sizes, SKU, quantity, arrival time and OrderNumber. The current model assigns a random SKU to each product, but I have to assign it to several orders. So my question is: How can this global table be integrated so that for example at arrivalTime 0, 11 products from SKU 137 with the assigned product size, at arrivalTime 100, 14 products from SKU 496 with the assigned product size etc. (see Inventory table).
This would help me a lot, thanks a lot?
Answer by Jörg Vogel ·
It is a typical task for another process flow. A single token (A) is created. This token collects data of the table "Inventory" to create tokens in your existing process by Table Qty column. Token (A) has a label to identify current row of table. This label is incremented by 1 and then the token is send to do the process again until the last row is evaluated. A delay activity suspends the token (A) for wait time.