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).
|
|
Take the above example. We have three variables, each with a
different type.
|
|
|
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.
|
|
Now we move in to the (relatively) type-safe world of Metastorm
BPM version 9.
|
|
When we try to assign values using the Formula Builder, we get a
clear indication of the variable type.
|
|
When we select a value from any Business Object, we again have
a clear indication of the variable type.
|
|
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.
|
|
|
|
|