If I understand your question correctly,
try to use the DO FINISH INPUT method of your assignment block. click on 3rd button on overview page and try to see the information coming in GLOBAL_EVENT parameter. use this as a condition and write your logic inside this method after redefining it.