Issue while Passing Multiple Variables in JSON Data

Hi Folks,

I have created one string variable and passing JSON data to it.
In JSON data, I am facing syntax error in passing multiple arguments to it.

Below is my data where I am facing issue.
““InputArguments””: “”{"“in_InputFilePath"”:"“”+InputFilePath+“"”,"“in_Period"”:"“”+Period+“"”,"“in_FiscalYear"”:"“”+YearOfPosting+“"”}“”,

Please help me to correct this string.

Hi @sayali_gujarathi1

Try this:

""InputArguments"": ""{\""in_InputFilePath\"": \"" + InputFilePath + "\"", \""in_Period\"": \"" + Period + "\"", \""in_FiscalYear\"": \"" + YearOfPosting + "\"}""

Hope it helps!!

Hi @sayali_gujarathi1

Check with the below once

"InputArguments": "{\"in_InputFilePath\":\"" + InputFilePath + "\",\"in_Period\":\"" + Period + "\",\"in_FiscalYear\":\"" + YearOfPosting + "\"}"

Hope it helps!!

Hi @sayali_gujarathi1

Can you try this

"InputArguments": "{" & 
    """in_InputFilePath"": """ + InputFilePath + """," &
    """in_Period"": """ + Period + """," &
    """in_FiscalYear"": """ + YearOfPosting + """}"