Button form
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2013 06:14 AM
Hello,
I want customize buttons of my form in a task in my workflow.Is it possible?
which is the file that contain buttons's details of form-task (buttons like Rejected,Approved..)
thanks in advance
I want customize buttons of my form in a task in my workflow.Is it possible?
which is the file that contain buttons's details of form-task (buttons like Rejected,Approved..)
thanks in advance
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2013 07:46 AM
Hi,
In your share-config-custom.xml, that's where you define your form components. Then in your workflowModel.xml file, you define the list of buttons you want that are associated with your task and form definition.
Here is an example from the workflowModel.xml file
<blockcode><type name="approvalTask">
<title>Approval Task</title>
<parent>bpm:activitiOutcomeTask</parent>
<properties>
<property name="approvalOutcome">
<type>d:text</type>
<default>Not Approved</default>
<constraints>
<constraint name="approvalOutcomeOptions" type="LIST">
<parameter name="allowedValues">
<list>
<value>Approved</value>
<value>Not Approved</value>
</list>
</parameter>
</constraint>
</constraints>
</property>
</properties>
<overrides>
<property name="bpm
ackageActionGroup">
<default>add_package_item_actions</default>
</property>
<property name="bpm
ackageItemActionGroup">
<default>read_package_item_actions</default>
</property>
</overrides>
<mandatory-aspects>
<aspect>approver</aspect>
</mandatory-aspects>
</type></blockcode>
Hope that helps.
Regards
In your share-config-custom.xml, that's where you define your form components. Then in your workflowModel.xml file, you define the list of buttons you want that are associated with your task and form definition.
Here is an example from the workflowModel.xml file
<blockcode><type name="approvalTask">
<title>Approval Task</title>
<parent>bpm:activitiOutcomeTask</parent>
<properties>
<property name="approvalOutcome">
<type>d:text</type>
<default>Not Approved</default>
<constraints>
<constraint name="approvalOutcomeOptions" type="LIST">
<parameter name="allowedValues">
<list>
<value>Approved</value>
<value>Not Approved</value>
</list>
</parameter>
</constraint>
</constraints>
</property>
</properties>
<overrides>
<property name="bpm

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

<default>read_package_item_actions</default>
</property>
</overrides>
<mandatory-aspects>
<aspect>approver</aspect>
</mandatory-aspects>
</type></blockcode>
Hope that helps.
Regards
