Multiple conditions on same document type.

Hi,

In a trigger service, why can’t we define multiple conditions using same document type?
For example, in a trigger service, I have developed asbelow:

Condition1:
Document type: DocA
Filter: ‘orderValue==A’
Service: serviceA

Condition2:
Document type: DocA
Filter: ‘orderValue==B’
Service: service

The above scenario doesn’t allow to save the service returning the error :the trigger is already associated with a condition.

What is the reason for this?

thanks.

Why not having two triggers with one condition each?

Use “orderValue L_EQUALS A” and “orderValue L_EQUALS B” as filter expression.
This makes sure that each trigger will only receive those documents matching the condition from the messaging provider.

Regards,
Holger