How to add the take screenshot in the workflow if ay error or exception occurs

@anjani_priya,

Any error you are getting while adding the workflow?