Class Field - Need get value from expression and string value

Hi,
Is it feasible to get expression in delegateTask populated with hard coded value i.e String Value and Expression as well ,.
e.g
Class Field
Name : fieldName
String Value : test, hello, ${exp}
however above doesn’t work.
In our flow we have some hard-coded values and some values are coming from instance variable.

Thanks in Advance :slight_smile:

Cheers

This link should have the examples of what you need here: https://flowable.com/open-source/docs/bpmn/ch07b-BPMN-Constructs/#java-service-task

Have a look at:
Hello ${gender == 'male' ? 'Mr.' : 'Mrs.'} ${name}
You may need to combine it with another of the examples shown in that page.

Let me know how that works out for you.

@jonathanlevis , Thanks for your answer.
However I was looking for class fields with combination of expression and hard-coded values.
In fact we get 2 options to set value either string value or expression we can’t have both together.
For workaround I am populating another variable consisting of string values so all can be used in expression.