How to reference workflow variable in json payload - json tool

Confluence User - 26 Mar, 2020

Hi - 

moving right along with testing the json tool.... have a question regarding workflow variable;

given a workflow variable called "Token", how do we reference it within the json payload. I have tried the following which didnt work:

{
"Method": "EndAPISession",
"SessionToken": "#variable.Token#"
}

{
"Method": "EndAPISession",
"SessionToken": #variable.Token#
}

is there a trick? 


thanks!


tony 


json;tools;workflow;variable

1


28 Mar, 2020
confluenceUser
confluenceUser

Hi, did you check the value of the Token workflow variable under process monitoring to ensure it is correct? I believe hash variables are supported in the JSON tool, searched and found an example in Integration with UiPath Robotic Process Automation#Step4.ConfigureSecondTooltoStartJobUsingtheAccessToken.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print