apply try catch to set workflow id
remove unnecessary alert