In the model attached, I am generating items at source and assigning the label PartNo with duniform(1,3). In the processor, I need to assign item Type by percentage only for item.PartNo = 3. I tried editing the script using if statement but it doesn't work right. Please help. Model attached. usingifcondition.fsm