atom feed3 messages in net.java.dev.osworkflow.usersRe: How to make a conditional result?
FromSent OnAttachments
poringMay 8, 2006 1:58 am 
Ronald PlögerMay 9, 2006 7:07 am 
chicky0827May 10, 2006 6:20 pm 
Subject:Re: How to make a conditional result?
From:Ronald Plöger (oswo@opensymphony.com)
Date:May 9, 2006 7:07:50 am
List:net.java.dev.osworkflow.users

Hi,

what makes you think there is a tag like conditional-result?

If you looked at the DTD or at the example xml you would see that the tag you
want is called result.

Here is a snipped straight out of the example.xml:

<results> [b]<result old-status="Finished" split="1">[/b] <conditions type="AND"> <condition type="beanshell"> <arg name="script"> propertySet.getString("caller").equals("test") </arg> </condition> </conditions> <post-functions> <function type="beanshell"> <arg name="script"> System.out.println("11111111111111"); System.out.println("11111111111111"); System.out.println("11111111111111"); System.out.println("11111111111111"); System.out.println("11111111111111"); System.out.println("11111111111111"); System.out.println("11111111111111"); </arg> </function> </post-functions> <[b]/result>[/b] <unconditional-result old-status="Finished" split="2"/> </results>

Ronald

--------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=29887&messageID=58354#58354