Passing input to next step without persisting variables into database from the current activity

Lets say i have service task after start event and making REST API call to micro service in service task and got a response as json string ( {“language” : “java”} ).

In user task i will do some operations on the json string and then it needs to be persisted in DB.

Now is that possible to send that string value from the service task to user task without persisting that string value in DB when token is in service task?

image

Hi @aravindhrs,

In your case you couldn’t use transient variables as transient variables will not be exist any more when token reaches the user task.

I think you have the option of invoking your rest service from the user task’s form instead of using service task or otherwise you should use normal process variable to store the value then delete it after finishing your work on it.

@hassang currently we are following this approach only. I thought there would be some other out of the box solution will be provided by camunda.