Hi!
I’m restarting a process, and I would like to add a new variable to that process (for example, processRestarted=true
)
The problem is RestartProcessInstanceBuilder
doesn’t have a setVariable
, so the only options I have is to use the original set of variables when the process was created ( initialSetOfVariables
), or the ones before deleting the process.
A workaround would be to add that variable before deleting, but I rather find a more elegant way to do it.
Is there any way to do this? Thanks in advance!
Juan