cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Workflow - Start Condition Failure

Former Member
0 Likes
2,507

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

View Entire Topic
Former Member
0 Likes

I've had issues with triggering events and executing start conditions upon the creation of SD documents.

Judging from the error message, I believe the problem is related to the event being triggered and the start condition being evaluated before the order is committed to the database. The Maintenance Order business object is probably NULL within the context of the start condtion evaluation.

When you're testing in SWUE, I presume you are using a pre-existing order, which essentially eliminates the timing effect of the real transaction and event triggering.

You may need to replace the Start Condition with a Check Function Module and even with that there are issues.

So I don't waste anymore of your time, could you confirm whether or not this problem occurs upon document creation.

Regards,

Thomas Carruth

Chief SAP Workflow Consultant

SBWP Service Corp.

Edited by: Thomas Carruth on Mar 26, 2009 8:51 PM