AnsweredAssumed Answered

Providing inputs to workflow

Question asked by dynamolalit on Jun 2, 2009
Latest reply on Jun 18, 2009 by jpotts

I am using Alfresco 3.0+JBoss 4.2.2.I have developed a sample workflow using jpdl designer in eclipse as "

<?xml version="1.0" encoding="UTF-8"?>

<process-definition xmlns=""
   <swimlane name="buyer">
      <assignment actor-id="customer"></assignment>
   <swimlane name="deliverDepartment">
      <assignment actor-id="deliver-man"></assignment>
   <start-state name="start">
      <task name="wf:submitReviewTask" swimlane="buyer">         
      <transition name="trPlcaeOrder" to="PlaceOrder">
   <task-node name="PlaceOrder">
      <task name="placeOrderTask" swimlane="buyer">

      <transition name="checkAvailability" to="CheckAvailability"></transition>
   <decision name="CheckAvailability">
      <handler class="com.sample.action.VerifyOrder"></handler>
      <transition name="trDeliver" to="Deliver"></transition>
      <transition name="trGetFromStock" to="GetFromStock"></transition>
   <state name="GetFromStock">
      <event type="node-enter">
         <action class="com.sample.action.GetFromStockActionHandler"
      <transition name="checkAvailability" to="CheckAvailability"></transition>
   <task-node name="Deliver">
      <transition name="trEnd" to="end"></transition>
   <end-state name="end"></end-state>

Now when this workflow is invoked,user should be able to submit some input values say 100.How can i achieve this.Is there anything related to command prompt or workflow console or Web Forms or anything else which needs to be developed to supply inputs to workflow?In brief,how can i supply inputs to a workflow deployed in Alfresco?

Happy to see your suggestions.

Thank You,