Is it possible to have sub forms in Activiti workflow?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2011 06:09 AM
Hi,
I am new to Activiti, and I have developed a simple workflow in Kickstart with 2 activities, one for request submission and another for approval. I want to know whether we have options for adding sub-forms i.e. the data entered in the request form should be shown in approval form with readonly option and the approver can just approve/reject the request by viewing the submitted detail.
Any help in this regard would be highly appreciated.
Thanks,
Vignesh
I am new to Activiti, and I have developed a simple workflow in Kickstart with 2 activities, one for request submission and another for approval. I want to know whether we have options for adding sub-forms i.e. the data entered in the request form should be shown in approval form with readonly option and the approver can just approve/reject the request by viewing the submitted detail.
Any help in this regard would be highly appreciated.
Thanks,
Vignesh
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2011 02:31 AM
When you use the built-in form-rendering, you can just use expressions to show the values filled in in the first form in HTML (eg: vacation request, approve.form):
When using external rendering and form-properties, you can add read-only form-properties:
<h1>Vacation Approval</h1>
<p>
${employeeName} would like to take ${numberOfDays} day(s) of vacation.
</p>
<p>
Motivation: ${vacationMotivation}
</p>
<p>
Do you approve this?
<select name="vacationApproved">
<option value="true">Yes</option>
<option value="false">No</option>
</select>
<input type="hidden" name="vacationApproved_type" value="Boolean" />
</p>
When using external rendering and form-properties, you can add read-only form-properties:
<activiti:formProperty id="speaker" variable="SpeakerName" writable="false" />
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2011 06:41 AM
Hi,
Thanks a lot for the reply, It worked for me and Im able to get the values using the expressions.
I would like to know how to add the drop downs in a form using Kick-start, because when i tried adding the options I can see only text/number/date options for the form elements. Kindly help me in this regard.
Thanks,
Vignesh
Thanks a lot for the reply, It worked for me and Im able to get the values using the expressions.
I would like to know how to add the drop downs in a form using Kick-start, because when i tried adding the options I can see only text/number/date options for the form elements. Kindly help me in this regard.
Thanks,
Vignesh
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2011 07:18 AM
this is currently not supported yet vby kickstart afaik… sorry.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2011 07:44 AM
Hi Ronald,
Thanks for the reply.
Could you pls let me know whether anyother web-app tool from Activiti support form rendering with Drop downs apart from Kick-start?
Thanks,
Vignesh
Thanks for the reply.
Could you pls let me know whether anyother web-app tool from Activiti support form rendering with Drop downs apart from Kick-start?
Thanks,
Vignesh
