patil deepali schrieb:
> Hi all, 
>  
>  I started working with SOAP interface. version 0.3 Perl soap client works 
> fine for me.I have one question though.. In admin guide, it says doSendEvent 
> sends event to a work flow. What does this mean??
>  
>  In my work flow, I have event "dataedit1" event which requires 2 variables 
> to be set. If I launch a work flow using soap client, set those 2 mandatory 
> variables.
>  and then
>  if( not defined ($result = $swamp->doSendEvent( $proc, "dataedit1", 
> $username, $pwd )) ) {
>      print "Error: ".$swamp->error() . "\n";
>  } else {
>      print "Result of sending event: ";
>      print Dumper(@$result) . "\n";
>  }
>  
>  What its supposed to do? Initially I thought it will set the condition of 
> dataedit1 to true and then work flow will automatically leave the current 
> active node but it seems this is not the case.
>  
>  I would really appreciate if somebody can explain the meaning of this term 
> and if there is any method which I could utilise for the situation explained 
> above.
>  
>  Thanks and regards,
>  Deepali

I think you are messing the terms "action" and "event". An event is 
something a condition waits for,
for example:
<edge to="cancel_announce" event="ISSUE_CANCEL" />

When the event "ISSUE_CANCEL" is sent in this case the next node will 
get activated.
Please provide the part of your workflow if it's still not working.
Greetings

-- 
Thomas Schmidt (tschmidt [at] suse.de)
SUSE Linux Products GmbH :: Research & Development :: Internal Tools
"memory management can be a bitch" (linux/kernel/fork.c:11)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
swamp-devel mailing list
swamp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swamp-devel
http://swamp.sf.net 

Reply via email to