Custom form for workflow
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2014 03:18 AM
Hi,
I am sorry to come back on this subject again but I'm completely stuck. I need to add a specific select list in my custom form for my custom workflow.
1st question :
Do I have to configure the form in :
- /Applications/alfresco-4.2.e/tomcat/webapps/share/WEB-INF/classes/alfresco/share-workflow-form-config.xml
or in :
- /Applications/alfresco-4.2.e/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml
So far I have managed to modify a form in the first one and I'm wondering if it's good to do it in this file.
2nd question :
How can I create a select list that populates the different alfresco sites ?
3rd question :
In my custom workflow, how can I attribute the task to only a certain group of users that belong to the site that the workflow initiator has previously selected ?
I would be extremely grateful to receive any help.
Vincent
I am sorry to come back on this subject again but I'm completely stuck. I need to add a specific select list in my custom form for my custom workflow.
1st question :
Do I have to configure the form in :
- /Applications/alfresco-4.2.e/tomcat/webapps/share/WEB-INF/classes/alfresco/share-workflow-form-config.xml
or in :
- /Applications/alfresco-4.2.e/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml
So far I have managed to modify a form in the first one and I'm wondering if it's good to do it in this file.
2nd question :
How can I create a select list that populates the different alfresco sites ?
3rd question :
In my custom workflow, how can I attribute the task to only a certain group of users that belong to the site that the workflow initiator has previously selected ?
I would be extremely grateful to receive any help.
Vincent
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2014 06:00 AM
Answer 1: Best practice is to use share-config-custom.xml file to place your custom configurations.
Answer 2: you can custom property which has defined custom constrain. In that custom constrain controller you can put a logic to fetch all site names.
Answer 3: For that you can define one swimlane in process definition file which will hold values selected by intiator which you can use on later stages.
Answer 2: you can custom property which has defined custom constrain. In that custom constrain controller you can put a logic to fetch all site names.
Answer 3: For that you can define one swimlane in process definition file which will hold values selected by intiator which you can use on later stages.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2014 03:56 AM
Hi,
I can only modify my forms in :
I don't know why but if it's working it's ok for me. Is there a way to reload this file without restarting tomcat ?
Thanks
I can only modify my forms in :
/Applications/alfresco-4.2.e/tomcat/webapps/share/WEB-INF/classes/alfresco/share-workflow-form-config.xml
I don't know why but if it's working it's ok for me. Is there a way to reload this file without restarting tomcat ?
Thanks
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2014 05:15 AM
Could you give me more information about the #2 and the #3 please ? What are custom property / custom contraint / custom contraint controller ?
The process definition file is the bpnm20.xml file right?
Thank you very much,
Vincent
The process definition file is the bpnm20.xml file right?
Thank you very much,
Vincent
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2014 07:39 AM
<namespaces> <namespace uri="http://www.alfresco.org/model/demoworkflow/1.0" prefix="demowf"/> </namespaces> <types> <type name="demowf:approveTask"> <parent>bpm:workflowTask</parent> <properties> <property name="demowf:requiredApproval"> <title>Evaluation</title> <type>d:text</type> <mandatory>true</mandatory> <constraints> <constraint type="LIST"> <parameter name="allowedValues"> <list> <value>Rejected</value> <value>Approved</value> </list> </parameter> </constraint> </constraints> </property> </properties> </type> </types> </model>
Custom constrains
http://wiki.alfresco.com/wiki/Content_Model_Constraints
Yes bpnm20.xml is process definition file.
