Using the lockWM Parameter
By default the working memory is locked during the invocation (that is, the value is true). You can change this behavior by setting the lockWM parameter to false.
When you set the value to false, the rule function executes outside the context of the working memory.
The results must not modify concept instances or scorecards (as in the case of a preprocessor).
Set the lockWM parameter to false for optimization purposes only and use with care. Set it to false only if the call does not modify the working memory in any way. For example, use it to perform stateless calls or calculations, or to create new concept instances or events, or for lookups and so on.
Copyright © TIBCO Software Inc. All Rights Reserved.