Show an error message in a workflow
Use workflow exceptions to show a customized error message in your Collibra Platform from a workflow.

To notify users that something went wrong with a workflow activity, incorporate the following code into your Groovy script task:
// #importFile NONE
import com.collibra.dgc.workflow.api.exception.WorkflowException
WorkflowException collibraError = new WorkflowException("Exception description.")
collibraError.setTitleMessage("Exception title")
throw collibraErrorYou can download an example workflow to see how an exception works.
PreviousStart a workflow when a definition is added
NextShow a link to a created asset after a workflow ends
Last updated
Was this helpful?