cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow Model Creations...

linton
Champ in-the-making
Champ in-the-making
Hi, I am creating advance work flow using jbpm designer for the following scenario.

user upload a file, Admin 1 reviews and attaches a file then approves it.

Its a simple workflow like the review & approver work flow.

But the difference is that the model files are bit different.

For my workflow i need to give a "file browse" button in the web ui.

This is where i am stuck up.
Can someone help me out saying how to specify the entry for a "file browse" button in creating a modelfile.

Thank you
3 REPLIES 3

raptus
Champ in-the-making
Champ in-the-making
Hello,
I have the same problem too… I wish to add a new property to the "review task" called "notes", a personalization of the "bpm:comment" property but I am stucked.
I have 2 separate models, 1 for date model (a particular document) and 1 for the workflow model.
The web client' customization for the first model (the document) was easy to do… but the text area called "notes" for the workflow model (task review) seems hard… It gives errors if I modify the model adding a new property in the task "review"…so I don't understand how modify them…

What have you done with your workflow? Could you show the wf-model and the web-client-config-custom?

Thanks,

Raptus

linton
Champ in-the-making
Champ in-the-making
My problem is different.  I  dont know how to specify "file browse" (multi-part file upload) option in a model file.
Example for creating text box we specify [d:text]. where d refers the namespace of dictionary model.
like wise how to create file browse(upload) option ..in a model file.


For your problem You can import the bpm namespace .


A sample model is listed below :


   <types>         
      <type name="scwf:submitBuyerApplicationTask">
         <parent>bpm:startTask</parent>
         <mandatory-aspects>
            <aspect>bpm:assignee</aspect>
         </mandatory-aspects>
      </type>
            
      <type name="scwf:fillApplication">
            <parent>bpm:workflowTask</parent>
            <overrides>
               <property name="bpmSmiley TongueackageActionGroup">
                  <default>add_package_item_actions</default>
               </property>
               <property name="bpmSmiley TongueackageItemActionGroup">
                  <default>edit_package_item_actions</default>
               </property>
            </overrides>
         </type>
</types>


hope this solves your problem.

try to solve my problem too…

raptus
Champ in-the-making
Champ in-the-making
For you I have found this thread: http://forums.alfresco.com/en/viewtopic.php?f=34&t=5485

There are other threads of this argument but I don't remember the links..

Like "cm:space" or "cm:folder"  as in http://wiki.alfresco.com/wiki/WorkflowAdministration ??

However I have found a half-solution for my problem (I don't understand your answer sincerely) creating an aspect called "notes" and adding the aspect in the review Task type (all done in the workflow model file), in web-client-config-custom I have just added a property-sheet called "notes" and it works!
My workflow model modification:

<type name= taskReview>

<mandatory-aspects>
            <aspect>fawf:notes</aspect>
         </mandatory-aspects>
… </type>

<aspects>


This is the only way I found for adding a custom property into a task… (in this case a text area called "notes" instead of the bpm:comment default panel)…

I'm sorry but for your problem I have no idea…try to find another thread or another content name…
I am pretty sure that I found some link about that!

Now I have another problem… how can I show this "notes" property as a String message in the process definition script?