Hey guys, I am trying to achieve relatively simple result (well, at least I think it should be easy), as I showed in the image. Either I am missing something or it is only possible to specify string constants here. Any advice would be appreciated.
I’ve tried using #{someVar} or ${someVar} - doesn’t seem to work. We are using camunda v7.8
Ah, I see, man. I’d like to use process variables in these inputs, so I can get somewhat custom error code and message, that I create directly in the code (in previous tasks, for instance). Will try to come up with workaround then.
Perhaps the following helps. You could always put the error into a process variable and use this process variable to check if there is an error at an exclusive gateway or use such process variable for something else. This is a good approach and something that we’ve seen with customers.