How can I define a global variable with dmn, that can be used later in other tables.
Use case: global E-Mail variable, that will be used in many other tables.
in DMN, there is no way to define a global variable (i.e. something in the global scope). But I see two ways to define the email just once:
- define the variable outside of the DMN in the process instance (e.g. as process instance variable)
- in a DRG, the variable is the result of a decision that is required by the other decisions - so they can use the variable
Does this help you?
Best regards,
Philipp
Hi @Philipp_Ossler,
thanks for the Antwort, I’ve used already the second one alternative, but it is a little bit impractical, that I should add arrows from Email decision table to all another tables. But now I know, that there is no another way to define a variable for a whole DRG.
Thanks again
Best regards,
Vlad