Adding page refresh logic to schedule assigment workflow