Hi,
In my model, when an item exits from source1 to combiner1.In the process flow, I am creating an Entry trigger source (On source1 exit) and then deciding the Item_type label which is assigned on items from Source1 using the Decide element.
- If entering Item_type == "Light". I am writing a custom code which checks the labels Item_type and Station in the "Process_flow" table.
It should match Item_type == "Light" and Station == "Station1"
If both the label matches, I want to extract the partnames of the items with both labels Item_type and Station. I want to extract those partnames and write them on the one more global table "Station_partrequest_light" in the same sequence as read from the Process flow.
- If entering item is Item_type == "Heavy". Then it should match Item_type == "Heavy" and Station == "Station1" from the Process_flow table. and then I want to extract only those items which satisfy these conditions and store only the partnames into the one more global table "Station_partrequest_heavy"
I have tried writing a code in the Custom code , but it is not working properly. Can you please help.