Hello!
This probably is a bit tricky. I have tried a few methods but none would work.
The logic is:
I have x sheets of different material that are cut sequentally. From sheet 1, 2 ..to sheet 5. Each sheet MAY have different material.
From EACH sheet a number of smaller products result (ex: from sheet 1 I can have 3 products and from sheet 5 I can have 2 products, so there is no rule).
Each resulting product has to have following labels: order number, product type, material, length and width.
An excel example is given below:The actual excel that I work on is way bigger but this is the main point: there are no ..laws that can be defined.
What I am thinking to do is described below:
Source 1 produces 5 sheets, each carrying label "Sheet number" which is counted likeso: First item has Sheet number = 1, ... Last item has Sheet number=2.
When sheet "x" is processed through Processor1 they arrive in Queue2 (which for me means taken out of the system, I will put there later a sink). But AT THE SAME TIME, in Queue3, the amount of items should appear (using processflow event triggered source & create item) and the amount corresponds to how many rows from the excel share the same Sheet number.
Example 1:
Item 1 (Sheetnumber=1) is processed and goes in Queue2. In Queue3 appear 3 items with their corresponding labels from the excel.
Example 2:
Item 2 (Sheetnumber=2) is processed and goes in Queue2. In Queue 3 appear 2 items with their corresponding labels from the excel.
As such, each item from Queue 3 will be different from each other. They basically should be the rows from my excel.
I need to mention I have little experience with lists & SQL. (these are the solutions that I tried for three days already). I would appreciate a detailed answer, I am working on my thesis.
Thank you in advance,
Regards.