This forum has been disabled. Please visit our new Help Desk at help.jitterbit.com

In Condition Expression, ILLEGAL_OPERAND in evaluating...

Questions and answers for configuring and deploying your integrations.

In Condition Expression, ILLEGAL_OPERAND in evaluating...

Postby rworkman on Thu Nov 02, 2006 9:56 am

I created a condtion on one of my folders in attempt to not create a record in that folder if the data is not available. When I do this I get a warning which I do not understand. I would like to know if I used the condition incorrectly. Also, is there documentation for the condition exression?

<trans>IsNull(facsimileTelephoneNumber)==0</trans>

Warning : CTransform::Evaluate failed - Transform Error: ILLEGAL_OPERAND in evaluating "<trans>IsNull(facsimileTelephoneNumber)==0</trans>"
rworkman Bookmark and Share
Community Member
Community Member
 
Posts: 14
Joined: Wed Oct 25, 2006 7:12 am

Postby modelpoint on Thu Nov 02, 2006 10:29 am

I think you can use If() function to work around this

Code: Select all
<trans>If(IsNull(facsimileTelephoneNumber)==0,true, false)</trans>
modelpoint Bookmark and Share
Community Veteran
Community Veteran
 
Posts: 60
Joined: Fri Oct 20, 2006 7:54 am
Location: RI, USA

Postby Ilan on Thu Nov 02, 2006 11:29 am

modelpoint is correct. His expression would evaluate to true or false. True allows the condition to pass and false the condition and the record would not go through.

Another way to do this is simply:

<trans>IsNull(facsimileTelephoneNumber)</trans>

If facsimileTelephoneNumber is Null then the record will go through otherwise the condition would fail

If you do not want Null values then you could also use

<trans>IsNull(facsimileTelephoneNumber)==false</trans>

Please tell us if you still have errors.

For documentation, if you are using Beta 1.2 please look at the help system. Within Transformations, within advanced options there is a section on working with conditional mappings. IF that does not help please tell us.

Thanks.
Ilan.
Ilan Bookmark and Share
Jitterbit Guru
Jitterbit Guru
 
Posts: 599
Joined: Fri Jan 06, 2006 4:24 pm
Location: Alameda, CA

Postby rworkman on Thu Nov 02, 2006 11:43 am

I used {IsNull(facsimileTelephoneNumber)==false} and that worked just fine. Thanks for the help.

Rodney
rworkman Bookmark and Share
Community Member
Community Member
 
Posts: 14
Joined: Wed Oct 25, 2006 7:12 am


Return to Using Jitterbit


cron
SourceForge.net Logo  open source integration