Do you use JSF..you can retrieve task details, etc using JSF expressions.
Or you can write a taskControllerHandler which will be executed every time task is actioned. You can write all your custom code in this handler
Can I keep it some where in JBPM so that whenever I change these it will take effect automatically.
what is "it"? I have no clue what you mean....