atom feed2 messages in net.java.dev.osworkflow.users[Opensymphony-workflow] : How to get ...
FromSent OnAttachments
Ming XueOct 5, 2004 9:12 am 
Hani SuleimanOct 5, 2004 10:38 am 
Subject:[Opensymphony-workflow] : How to get the current step ID in Funct ions
From:Ming Xue (ming@plateau.com)
Date:Oct 5, 2004 9:12:03 am
List:net.java.dev.osworkflow.users

Hi

In my project, I need to create a couple custom function and conditions, I need to know the Step ID in order for the Function to work, in this case "1", Is there anyway to get this number, other than define it as an argument? Since this value is already defined in the <step> tag?

thanks Ming

<step id="1" name="FirstLevelEvaluation"> <unconditional-result old-status="Finished" status="PendintSecondLevel" step="2" owner="${currentOwner}"> <post-functions> <function type="class"> <arg name="class.name">com.plateausystems.elms.util.process.functions.TrainingApp rovalFunction</arg> <arg name="stepId">1</arg> </function> </post-functions> </unconditional-result> .... </step>