Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
Hi,
I wrote a java class and execute this as an expression in the workflow.
In the overview page of the process manager(see printscreen as attachment) I have an error "Can't execute; bad workflow expression".
Can you tell how to find more detailed infoor how todebug that code ?
Also what is the function of that number in the list ? E.g. :
Nested exception is: (wt.workflow.definer.definerResource/19) wt.workflow.WfException: Can't execute: bad workflow expression
When modifying the java code you you realy need to restart te Windchill services or is there a other way ofapplying the new .class file ?
Any help is welcome, best regards,
Bernard
Hi Dave,
Hereby the java code to check if there is an iges file attached to the folded model.
This iges file is a requirement for our supplier when ordering bended parts.
The code will check if there is an iges attached and if not return a error. If there is an iges the date of the attachment will be compared with the previous version, so to avoid that when doing a revise the old iges is still attached to the new object.
The expression in the workflow is as follow:
CheckIges = ext.savaco.lvd.CheckIges.doCheckIges((wt.maturity.PromotionNotice)primaryBusinessObject);
Regards,
Bernard