Can we trigger error events from external tasks?

Can we trigger error events from external tasks?

Yes, you can send a BPMN error event via the REST API

https://docs.camunda.org/manual/7.9/reference/rest/external-task/post-bpmn-error/

Thank You, This is what I need