Conclusion
So that’s it. With one two-line function, a on-line use of that function in the ‘when action starts’ and an ‘if-else’ selection for the next chained Action, and we have implemented not only similar functionality to that we had in previous versions, it is much easier and neater.
Sure, you have to delve into C# a little, but you will have to do this anyway, so this is a good way to start.
We have presented on or two shortcuts here. There are several more in the language. To get a feel for these, try pressing “.” after an object variable, or even a function call that returns an object, such as SelectSql(). In most places, especially in the C# editor of course, you will be presented with an Intellisense list of methods and properties (functions and variables). Get used to the different icons and what they represent as well, and it will stand you in good stead. In some ways I feel a short course on C# may be in order for Metastorm BPM 9 developers not already familiar with the language.