1
0
-1

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 


    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      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.

        CommentAdd your comment...