Service Task Variables to pass in

I am using a service task. I would like to be able to pass in variables in order to use them in my execute function in the service task.

Is there a way that i can set these variables in the main config properties of the service task and assign them value?

For example, If i want to use the variable, var that has the value string. How would I be able to use var inside of the service task?


Hi alixlol,

There are several possibilities (just 2 of them):

  1. Use init variable step (or listestener) to set variables.
  2. Use expression with variable default values (e.g. when variable does not exist, return default value expression)