cancel
Showing results for 
Search instead for 
Did you mean: 

Create fixed property

vire7777
Champ in-the-making
Champ in-the-making
Hello

I'm creating many Tasks from the AbstractCustomServiceTask with their own properties i want the user to fill.
But i'm wondering if we can create some properties that the user CAN T see in the task properties wich contains a default value.
For example, i would love to create a property called taskName, type string with a value "toto" inside.
But i d'on t want the user to see a field when he will go on the property of his task.
Nethertheless, i want to catch it in my java call by a normal procedure with an Expression…
Is that possible ? I'm not sure i'm so clear… Smiley Tongue


@Property(???)
   private String taskName;

Thanks for your help
2 REPLIES 2

vire7777
Champ in-the-making
Champ in-the-making
I thought i found the solution
Just create a variable :
private String taskName = "toto";

But in fact that doesn t work :'(

vire7777
Champ in-the-making
Champ in-the-making
Someone has an idea ?