workflow stuck

Wait condition issue fix in workflows