‎2009 Mar 26 9:59 AM
Hi All,
I am trying to put a start condition on a workflow of mine. I just want to check if an order type = PM01 or PM03 and not 0010.
I have my start condition set-up but every time I run it I get this error in my event log:
Operator 'EQ': The value of the left operand cannot be determined
( " PM01 or PM03
&Maintenance order.Order type& = PM01
or &Maintenance order.Order type& = PM03
) " PM01 or PM03
and &Maintenance order.Plant& u2260 0010
The funny thing is if I go to SWUE and kick off the even it passes the start condition fine. So therefore I think there is an issue with my container being passed to the start condition.
Is there anyway I can fix this?
Many Thanks For Any Help Provided,
Colm
‎2009 Mar 26 10:10 AM
Hi,
Place the order type values in single quotes as shown below. As these are values and not a variable containing some value. That is the reason it is not able to identify the value.
( " PM01 or PM03
&Maintenance order.Order type& = 'PM01'
or &Maintenance order.Order type& = 'PM03'
) " PM01 or PM03
and &Maintenance order.Plant& u2260 '0010'
I hope this solve your problem.
Regards,
Brajvir
‎2009 Mar 26 10:11 AM
Hi,
Did you try like this?
( " PM01 or PM03
&Maintenance order.Order type& EQ 'PM01'
or &Maintenance order.Order type& EQ 'PM03'
) " PM01 or PM03
and &Maintenance order.Plant& NE '0010 'Rhea.
‎2009 Mar 26 10:23 AM
Thank you both for your suggestions, however I am entering these start conditions using the transaction SWB_COND.
In SWB_COND you can not use single quotes ('PM01') or change the equals sign (= -> EQ).
In SWB_COND if you enter a literal it automatically places the single quotes around your values.
Thanks for the help anyway, any more ideas would be much appreciated.
‎2009 Mar 26 10:49 AM