Pass argument's value diynamically

Does someone know how to pass dynamically the value of an argument in a workflow or directly in the same workflow, this is to compile a log that gives back not only the set of arguments, but also the values of each of them.

thanks in advance!


Could you please tell more details and didn’t understand your requirement.

We will use arguments to interact between two workflows.

For example, if I’m in a workflow i can trace inside the .xaml file the arguments names, directly manipulating the xaml file, but if I want to know the values of these arguments dynamically?
I need to write something like:
“‘arg1_name’:‘arg1_value’, …”

if you want to trace value and argument name , try this!!
"arg1_name "+arg1_name

it will give you both argument name and value also

Yes, but the problem is that I don’t know the arguments and I extract them from the xaml file, dinamically