Workflow Model Creations...

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2010 11:15 PM
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
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
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2010 03:28 AM
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
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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2010 05:31 AM
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="bpm
ackageActionGroup">
<default>add_package_item_actions</default>
</property>
<property name="bpm
ackageItemActionGroup">
<default>edit_package_item_actions</default>
</property>
</overrides>
</type>
</types>
hope this solves your problem.
try to solve my problem too…
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="bpm

<default>add_package_item_actions</default>
</property>
<property name="bpm

<default>edit_package_item_actions</default>
</property>
</overrides>
</type>
</types>
hope this solves your problem.
try to solve my problem too…
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2010 07:27 AM
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?
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?
