Hello Everyone!

I'm using OpenWFE  1.7.1.
Could you help me with following issue - I'm trying to launch a flow
using Perl API, right as it shown at test.pl:

my $testprocess='http://OWFE_SRV:7079/testflow.xml';
my( $li) = OpenWFEPerl::LaunchItem->new($testprocess);
my ($flowID) = $owfeperl->launchFlow("mainEngine", $li);
#print $flowID."\n";
print "ERROR $owfeperl->{error}";

But it fails with "DispatchingException : LaunchItem with workflowDefin
                                             itionUrl field not set.
Cannot launch." Whole exception is listed below.

Exception:
====================
 Server error :
openwfe.org.engine.dispatch.DispatchingException : LaunchItem with
workflowDefin                                              itionUrl
field not set. Cannot launch.
        at
openwfe.org.wlactions.LaunchAction.run(LaunchAction.java:109)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:379)
        at
openwfe.org.worklist.impl.RmiWorkSession.launch(RmiWorkSession.java:5
                                         06)
        at
openwfe.org.worklist.impl.RestWorkSession.do_launchflow(RestWorkSessi
                                           on.java:479)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                                           java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                                           sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
openwfe.org.rest.RestSession.evalRequest(RestSession.java:146)
        at openwfe.org.rest.RestSession.handle(RestSession.java:237)
        at openwfe.org.rest.RestService.handle(RestService.java:388)
        at openwfe.org.net.SocketService$1.run(SocketService.java:251)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenWFE users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/openwfe-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to