PDA

View Full Version : Workflow problem


tcooney
06-30-2003, 12:47
I'm building my first workflow and got the following error while trying to generate:
"failed to generate code for controller : Set FinanceDeniedValues"
The message directs me to look in the log but there doesn't seem to be much more info in the log.
What I'm trying to do is: When the user clicks a button on an html form the workflow executes the proper controller depending on the button clicked. I have a button for approved and one for declined. There are two controllers that use 3 assigners to set values in the data record. They are defined the same except the Approved Controller sets a Status field to Approved and the Denied Controller Sets the Status field to Declined. The Approved Controller seems to generate successfully but the Denied Controller gets the error message.
Any ideas would be much appreciated.

rtiberio
06-30-2003, 13:18
If a given Workflow container, like a task, controller, workflow or Implementation module will not generate it may not be fully implemented or contain errors. The first place to look is the logic validator. Select the failed controller on the left hand side of the Designer's display, this is the portfolio selection tree. Then under tools, select validate. A UI will appear with possible errors the object contains.

tcooney
07-02-2003, 11:10
Thanks for the response Rob. The controller validated ok. But did find the error by matching the failing controller against the controller that did generate. Problem was with an assigner that was setting a date field as a formated date. In the display window it showed as date & time for the right operand. However, when I went into edit the show date checkbox was not checked. I checked it and then it generated fine.