Passing task variables from input/output paramters extension

I have a user task…The form fields/variables in this task are submitted by the Camunda ReST API.
I want to pass these variables to next Send Task.
Is it possible to achieve this via Input/Ouput parameters extension.?

image

If you complete the user task with the variables they’re available in the scope of the process instance and so the Send Task will automatically have access to them without needing input/output to be used.

What will happen when I close the process.If I try to fetch the history,will I be able to retrieve it?

Depending on how you configured the datasource - it shouldn’t be affected.

Hi,
I have similar case which i have 2 external user tasks and i want to use camunda process engine API to access the submitted variables by the first task from the second task.
Appreciate your support.