Question
Error Message of the Day
Hi All....I'm working on a workflow and having some trouble with an annoying conditional.
The Process Manager is not showing me anything related to the conditional....all that I see is that the Conditional has been "Disabled"....but nothing after this is executed. This is where the workflow stops.
The only error message I see in the method server log is......"The client did something wrong."
I must admit that this put a smile on my face and gave me a chuckle. I know that it means something else....but I almost wish that this was PTC's way of pointing out that I'm an idiot...wait a minute...maybe THIS IS what they ACTUALLY mean and they just want me to THINK that it means something else.
In 10.0, I expect to see a message in the Method Server log file that states "Error Found"....with a hyperlink to a youtube video of the guy slamming his computer and throwing it off his desk.
In all seriousness, I cannot for the life of me figure out why the following syntax cannot be evaluated. Why is it getting stuck on this conditional?
//NOTE: EP_Track is a java.lang.String variable in the Workflow that has a value of "ORDER_TRACK" so it should take the else path....yes sendFastTrack and sendOrderTrack are my Routing Events.
if (EP_Track.compareTo("FAST_TRACK")==1){ result="sendFastTrack";}else{ result="sendOrderTrack";}
Mike -

