How to concatenate strings in Task Events?

The documentation example does not work

What is the correct code for this?

Is the solution creating an action on the task which binds the interested values on to a local variable, does the change and binds that back to the intended place?

Thank You.

I can reproduce the same problem. I’ll have the documentation updated. In the meantime you can use a simple java function to generate the correct string.


public String generateName() throws Exception {
		String number = resolveExpression("#{currentTask.taskData.orderNumber}").toString();
		return "Order Number: " + number;
	}

Then in your assignment action you can select the binding expression for that java function. In my project, it was something like: #{DataManipRuleContext.generateName}

Hope this helps.
–mark