78
Views
1
Comments
Can you force a Process to be active with errors?
Question

Good day Community

I want to make a process instance appear as Active with Error. I have noticed that when an exception is thrown inside the process it becomes an Active Instance with Error. However I don't want to rely on throwing an exception as this may disrupt my process flow.

I want to know, is there a programmatic way to force a process instance to have errors without interrupting the process flow?

Any assistance will be much appreciated



2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi,

I think only an exception will set the activity to error.

What is your use case? An activity is in error when you get an exception. Why you need it to be in error while there is no exception?

Regards,

Daniel


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.