This information includes some best practices, hints, and tips for coding expressions efficiently and effectively.
You can also use or edit existing snippets, or create new snippets, in the rule builder to provide the code for the calls to external modules. Snippets are excerpts of source code that can be used within expressions. In the rule builder, snippets are available through the Snippet view.
With this approach, the tasks of designing, developing, editing, testing, and debugging Java code can be done in the integrated development environment (IDE) of your choice and can be controlled as a regular part of your development process.
<onTimeOut> <action expressionLanguage="java"> <![CDATA[ IEvent firstEvent = act_eventList.get(0); System.out.println("Expired Item: " + firstEvent.getAttribute("sourceComponentId.location")); ]]> </action> </onTimeOut>XML parsers ignore everything that is inside of a CDATA section.