Yes, e.g. by passing the script in another variable and evaluate that in the actrionhandler. You can set the variable color inside that actionhandler then.
Be creative. jBPM does not limit you much
I saw an example of what you say. I wanted to know if there is a way to do that outside my ActionHandler code.