For the complete documentation index, see llms.txt. This page is also available as Markdown.

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 collibraError

You can download an example workflow to see how an exception works.

Last updated

Was this helpful?