runbook status

Jun 12, 2013 at 2:59 PM
Hi,
When designing my own activities with the Orchestrator SDK, runbooks always execute as successful or never stop running when an exception occurs.I can catch the exception and change the output to show there is an error. I can report an ErrorEvent, but how do I change the runbook status to failed?

thanks