Did you added any condition in the workflow?
yes but after that it was working .Today morning it was not working , My senior changed the source code of Sales invoice base.py yesterday