As the properties are set in a connector originating from a Decision shape, it is possible that the flow is not taking that route post evaluating the decision shape? Can you pls check by running tracer whether the correct connector is being picked up or not?
But it is behaving inconsistently. Sometimes it is working and sometimes it is not. I have also checked the condition on that decision shape(it should work with the values that are present on clipboard)