Using Camunda to perform validations, yay or nay?

Hi fellow Camunda users,

I’m looking for answer to the question raised in my title. I’ll lay out a scenario for you to clarify the question:

I have a process A. In process A I have a couple of service tasks and decisions, nothing special. However, to start I get a list of a persons personal information such as e-mail address, name, address and a unique identifier. I have a function in Camunda to retrieve e-mailadresses and identifier currently in use in my application. When I match an e-mailadress or unique identifier I want to throw a business error synchronously back to the application. Is this something that is typically handled/can be handled with BPMN and if so, how would you model such a thing? If you could substantiate your answer that would be most appreciated. Thanks for any help.

kind regards,

T

Sure, you could do that by using an Error Event in BPMN.

@Niall Thanks for the reply, if it’s not too much trouble, could you model an example including the rule/language/expression you would implement to accomplish the scenario?

This tutorial video explains in detail how you could achieve what you’re looking for. I think the bit you’d be most interested in starts around the 14 mins mark.

Thanks, I’ll give it a look!