Variables
We no longer need to prefix our variables with the type. This was been very often misused due to ignorance in any case, and the field type is often used instead of the data type (eg %drpText1 and %rgpText2 and %txtText3 when all three are text variables).
graphic
Take the above example. We have three variables, each with a different type.
graphic
When we reference them in the Formula editor with the ‘%’ symbol, we have no way to tell what the variable type is. This can cause problems with erroneous conversions and the similar mistakes.
graphic
Now we move in to the (relatively) type-safe world of Metastorm BPM version 9.
graphic
When we try to assign values using the Formula Builder, we get a clear indication of the variable type.
graphic
When we select a value from any Business Object, we again have a clear indication of the variable type.
graphic
Even when we use Intellisense to find and select the variable, either in the Formula Builder or the C# editor, we get a clear indication of the variable type.
We can lay the variable prefix to rest at last.
Go to:
Processes (Next topic)