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

Hi @rezza72,

the easiest way is to use a task listener on the create event and use the name attribute of the provided task object.

For example:

    <bpmn:userTask id="Activity_02328bn" name="${taskTitle}" camunda:assignee="${prc_starter_user_uri}">
      <bpmn:extensionElements>
        <camunda:taskListener event="create">
          <camunda:script scriptFormat="javascript">task.setName("Hallo Rezza");</camunda:script>
        </camunda:taskListener>
      </bpmn:extensionElements>
    </bpmn:userTask>

To add additional logic, surround the statement with if-then-else. And choose the scripting language (or Java) you like most.

Hope this helps, Ingo