wait condition

Wait condition issue fix in workflows