Skip to main content
Nintex Community Menu Bar
Question

Passing variable from WFC to RPA LE : SyntaxError: invalid syntax

  • January 4, 2023
  • 0 replies
  • 47 views
  • Translate

Forum|alt.badge.img+2

I have created a form which is a number and list in a repeating section in WFC form.

 

This is then passed to RPA LE as text variable called quoteid.

This is what I am getting back from RPA stating it is an invalid syntax. I am not sure how to handle. I was able to get to make this work on local enviroment. Any clues would be great.

**could it be the double \ like I see in output or is it doing that because of outputting it to email.

 

 

QuoteId: ["{\"se_number_1_sCiujd7kkJ\":20,\"se_choice_multiple_1_zcNn8EYP1\":[\"Option 1\",\"Option 2\"],\"se_number_2_RgJdZXAskp\":2}","{\"se_number_1_sCiujd7kkJ\":22,\"se_choice_multiple_1_zcNn8EYP1\":[\"Option 1\",\"Option 2\",\"Option 3\"],\"se_number_2_RgJdZXAskp\":3}"]

 

Output: File "C:\ProgramData\Foxtrot Suite\PythonTemp.py", line 23 quoteid = "["{\\"se_number_1_sCiujd7kkJ\\":20,\\"se_choice_multiple_1_zcNn8EYP1\\":[\\"Option 1\\",\\"Option 2\\"],\\"se_number_2_RgJdZXAskp\\":2}","{\\"se_number_1_sCiujd7kkJ\\":22,\\"se_choice_multiple_1_zcNn8EYP1\\":[\\"Option 1\\",\\"Option 2\\",\\"Option 3\\"],\\"se_number_2_RgJdZXAskp\\":3}"]" ^ SyntaxError: invalid syntax

["{\\"se_number_1_sCiujd7kkJ\\":20,\\"se_choice_multiple_1_zcNn8EYP1\\":[\\"Option 1\\",\\"Option 2\\"],\\"se_number_2_RgJdZXAskp\\":2}","{\\"se_number_1_sCiujd7kkJ\\":22,\\"se_choice_multiple_1_zcNn8EYP1\\":[\\"Option 1\\",\\"Option 2\\",\\"Option 3\\"],\\"se_number_2_RgJdZXAskp\\":3}"]

Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings