Send Json as a variable in Url

Confluence User - 18 Mar, 2020

Hi,

If I set a variable in my url with the content of the variable below, is it possible to access the data inside json afterwards?

String test = "{'firstName':'John','lastName':'Doe'}";

test = test.replace("'", "\"");

..."&var_USERNAME_VARIABLE="+teste+...

Someting like this:


(To see the image well, I recommend opening it in a new window)

Thanks in advance
variables;json;forms

3


18 Mar, 2020
confluenceUser
confluenceUser

Sorry your question is not clear. Can you elaborate please?

Your image is distorted badly too.

18 Mar, 2020
confluenceUser
confluenceUser
Regarding the image as I said in the question, just open it in a new window that no longer appears distorted.

Regarding the question, I want, on the Java side, to set a workflow variable with a Json string, and then on the Joget side, to access the elements of that same Json.



18 Mar, 2020
confluenceUser
confluenceUser

Oh, try Form Data Update Tool. You can set your json text inside it to any field that you want.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print