How to attach a form to Task and submit the form data

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2013 06:37 AM
Hi Team,
I read the user guide from below link –
http://www.activiti.org/userguide/index.html
I also downloaded the activity 5.11 and deployed the activity-explorer in tomcat 6. It is successfully deployed and running
Additionally I would like to inform you that a I have created small workflow/process and deployed in tomcat and it is running –
My custom work flow is very small –
1. Start-event User task end event
2. A Listener (TaskListener) is added as an listener into the user task.
3. It is noticed the notify() of the my custom listeners is executed while “start process” link is clicked
Now I want to create Form (using built-in form properties) and attached to User process so that it can be open while process will be started. I also need to know how do I get the from data and also how to delegate the form data to the next Task
Please provide tutorial and sample example for the same.
Thanks In advance
Thanks,
Aswini
I read the user guide from below link –
http://www.activiti.org/userguide/index.html
I also downloaded the activity 5.11 and deployed the activity-explorer in tomcat 6. It is successfully deployed and running
Additionally I would like to inform you that a I have created small workflow/process and deployed in tomcat and it is running –
My custom work flow is very small –
1. Start-event User task end event
2. A Listener (TaskListener) is added as an listener into the user task.
3. It is noticed the notify() of the my custom listeners is executed while “start process” link is clicked
Now I want to create Form (using built-in form properties) and attached to User process so that it can be open while process will be started. I also need to know how do I get the from data and also how to delegate the form data to the next Task
Please provide tutorial and sample example for the same.
Thanks In advance
Thanks,
Aswini
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2013 08:17 AM
The Explorer webapps ships with some example processes, check those first because some of them have form property examples:
eg
That is the form of the 'timers example'
eg
<startEvent id="theStart">
<extensionElements>
<activiti:formProperty id="throwException" name="Throw exception when executing timer"
type="enum" required="true">
<activiti:value id="true" name="Yes, please" />
<activiti:value id="false" name="No thanks" />
</activiti:formProperty>
<activiti:formProperty id="duration" name="Timer duration" type="enum" required="true">
<activiti:value id="long" name="One hour" />
<activiti:value id="short" name="10 seconds" />
</activiti:formProperty>
</extensionElements>
</startEvent>
That is the form of the 'timers example'
