waseemarif
Contributor
Contributor

Is there a way if workflow throws exception it should trigger email

Hi Guys,

 

I am looking for some assistance regarding suppose if I have a workflow to power off a vApp or VM or power on a VM or vApp and for some reason it didn't work is there a way it could trigger an email that workflow failed or something like that without using decision statement. 

Labels (1)
  • uy

0 Kudos
1 Reply
paul_xtravirt
Expert
Expert

Hi,

If you place a default error handler on your vRO design canvas, you can insert a script of workflow/action to send an email between the handler and the end workflow item.

Ensure that other items on your design canvas have the error handler set to the defined variable on your default error handler, typically error, err or ex, for example.

If you found this helpful, please consider awarding some points
0 Kudos