OSWF input parameter in trigger function parameter(?)

Kasper Fock <[email protected]>
Newsgroups gmane.comp.java.open-symphony.devel
Organization EasySpeedy
Message-ID <[email protected]>
Hi I looked the a way to parse variables from the actions input map to ex. an 
job schedule:. (the parameter 'delay' and 'id' in the map). I'm not sure of 
the syntax ore if I can use the this instead inputs.get("delay");

Furthermore, is it necessary to give the job different name, or will the job 
be workflow dependent. (May several workflow instance schedule a job with the 
same jobName, triggerName and groupName)

My example on using the input vars.
<function type="class">
  <arg name="class.name">com.opensymphony.workflow.util.ScheduleJob</arg>
         <arg name="triggerId">1</arg>
          <arg name="jobName">job${id}</arg>
          <arg name="triggerName">trig${id}</arg>
          <arg name="groupName">payment</arg>
          <arg name="repeat">0</arg>
          <arg name="repeatDelay">${delay}</arg>
          <arg name="endOffset">${delay}</arg>
          <arg name="username"></arg>
          <arg name="password"></arg>
          <arg name="local">true</arg>
          <arg name="schedulerStart">true</arg>
</function>


Thanks in advantage
 
Kasper Fock
EasySpeedy ApS 
_______________________________________ 
European Dedicated Server Hosting 
Extremely low prices, secure, and reliable
Linux and BSD distributions only 
_______________________________________


-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.