Hi Carlos,
You can do that with common APIs.
You can find some examples here: https://github.com/Salaboy/Drools_jBPM5-Training-Examples
And some slides explaining the APIs here:
http://salaboy.wordpress.com/2011/01/24/announcing-jbpm5-community-training/
Follow the links for each module.
Greetings.