[rules-users] Metadata in Guvnor-created rules

Stephen Masters stephen.masters at me.com
Mon Mar 19 13:30:25 EDT 2012


Hi folks,

I'm curious about what metadata should be on a rule when created in Guvnor. I was assuming that any of the metadata fields shown under the "Attributes" tab should be available as metadata items when the rule gets activated. i.e. Title, categories, Created date, etc...

However, when I call event.getActivation().getRule().getMetaData() on an AfterActivationFiredEvent, the map returned is completely empty.

Or is the "metadata" for a rule in Guvnor not the same thing? I was rather hoping to be able to take note of the categories of each rule that fires.

fyi ... I'm using 5.3.0.Final.

Thanks for any assistance you can provide.

Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120319/5ae8e5e8/attachment.html 


More information about the rules-users mailing list