Skip to main content
Nintex Community Menu Bar

Nintex doc formula not working

  • July 8, 2022
  • 3 replies
  • 61 views

Dear Community,

 

I have written a nested IF condition in my docgen package like below and ran the package but it gives me syntax error. I have checked with several other conditions given in the forum, but no luck. The formula I am writing below:

IF("<<Expression_1>>"="1",(IF "<<Expression_1>>" = "2",(IF "<<Expression_1>>" = "3",(IF "<<Expression_1>>" ="5",(IF "<<Expression_1>>" ="8" "Included" "") "")"")"")"")

 

Please Help!

Thank you,

3 replies

natsu_docs
Nintex Employee
Forum|alt.badge.img+8
  • Nintex Employee
  • July 8, 2022

Hi,

 

Would it be possible to see a screenshot of your screenshot? Based on your IF statement, if you're using numbers as your criteria, you would not need "" marks around them.


  • Author
  • July 11, 2022
Hi, I could not share a screenshot actually, however the formula is shared is correct. I have just replaced the Expression_1 with some other field.

  • Author
  • July 12, 2022

Basically I am trying to get this condition in Drawloop
if(FormNumber = 1 or 2 or 3 or 5 or 8  )
{
print "included" }
else if (FormNumber = 4 or 6)
{
//perform am arithmetic calculation
}