AnsweredAssumed Answered

How to set field for Java Service Task to business key?

Question asked by schmke on Apr 16, 2016
Latest reply on Apr 20, 2016 by schmke
I have a Java Service Task that needs a value passed in that happens to be the business key for my process.  I know I could use execution.getProcessBusinessKey() to retrieve it but that would make the Java Service Task hardcoded to only work with processes where the value in question is the business key.  I'd prefer to pass the value in as a field expression.

However, it appears field expressions can only contain variable references?  If so, is there not a way to set a field to the value of the business key?

Yes, I could duplicate the value from the business key into a variable as well, but I'd rather not have to do that.

Is there a solution I'm missing or is what I want to do not possible?