Hello All:
This error is returned when I run my code in the formula part of the workflow.
The offending code is as follows:
IF [BN] = "111111" THEN
[SBN] = "222222,333333"
ELSE
"Do Nothing"
ENDIF
BN and SBN are strings, but carry numeric values in this case.
Solved! Go to Solution.
The code should just be:
IF [BN] = "111111" THEN
"222222,333333"
ELSE
"Do Nothing"
ENDIF
Regards,
Tom
Thank you so much, Tom.
Happy to help.
Actually, that's not right. I need to assign those two values to another field.
Hi @bcampbell0621, not sure if I completely follow the request, I think you will need to create a new field within the formula tool, or if [SBN] exists then have the formula assigned to that field? Workflow attached.
Is this what you meant?
IF BN = 11111 THEN
SBN = 22222,33333
ELSE
"Do Nothing"
ENDIF
I'm not sure how else to explain it. Both BN and SBN exist already in the database.
Hi Andrew:
There are two fields, BN and SBN
IF BN = 11111 THEN
SBN = 22222,33333
ELSE
"Do Nothing"
ENDIF
It's very straightforward, but the code is giving me this error that I posted in the the Subject.
I maybe didn't pay attention to the actual error message.
The issue may be that you're not naming the field? That error can only happen when it doesn't recognise on of your fields in the formula, and I don't see a blank in your code.
Alternatively, paste your workflow over to us?