How to change the userTask's name according to process variables

Hi @rezza72,

I tried a variant which works on my machine. Maybe the first line of the tasklistener is wrong as it initialized the edit variable as empty. Process variables get injected in the scripts automatically: Scripting | docs.camunda.org

Hope this helps, Ingo

1 Like

Thank you so much for all your help, Hamvatan.
I checked the Model you sent and realized where I was wrong.
Thanks again :hibiscus:

1 Like

Can’t we do this for the intermediate throw event? I tried the same concept. But it didn’t work.