On a quick skim of the Programmers Reference which I will attack in more depth once I have finished the Java for noobs and have watched the AIM Java plugin video, but it seems that from the example on page 9 that it might be possible to pass in an entity to a plugin. Am wondering if it is possible to either pass in the BO that I am working on and modify it in the plugin (question as to whether it would deal with dynamic change) or alternatively have the rule:
Code: Select all
CREATE tempObject
RUN_PLUGIN_FUNCTION(tempObject, param, param)
realObject.attribute1=tempObject.attribute1 etc etc
The IExecutionEngine has a method updateEntity that caught my eye. It's a question of context and persistence of the temp BO.