wf:submitGroupReviewTask always showing like bpm:startTask on Share UI in my custom activiti process
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2013 10:07 AM
Hello!
I'm wondering why Share doesn't see my workflow-context. I have my custom process definition using activiti:formKey="wf:submitGroupReviewTask"
and my process is nothing more than a copy-paste of the oob Pooled Rev and Approve activiti process.
The process definition is living in tomcat\shared\classes\alfresco\workflow. The context is in tomcat\shared\classes\alfresco\extension and is like:
as you see I'm using oob workflowModel.xml because I don't need custom model. But when I start my custom WF from Share I always get the "default" start task form (think it is bpm:startTask). Am I missing something in some config file?
Thank you!!!
I'm wondering why Share doesn't see my workflow-context. I have my custom process definition using activiti:formKey="wf:submitGroupReviewTask"
<process id="prova" name="Prova WF" isExecutable="true"> <startEvent id="start" activiti:formKey="wf:submitGroupReviewTask"></startEvent> <sequenceFlow id="flow1" sourceRef="start" targetRef="reviewTask"></sequenceFlow> <userTask id="reviewTask" name="Review Task" activiti:candidateGroups="GROUP_manager" activiti:formKey="wf:activitiReviewTask"> <extensionElements>…
and my process is nothing more than a copy-paste of the oob Pooled Rev and Approve activiti process.
The process definition is living in tomcat\shared\classes\alfresco\workflow. The context is in tomcat\shared\classes\alfresco\extension and is like:
<beans> <bean id="epWorkflowBootstrap" parent="workflowDeployer"> <!– Censimento del nuovo processo activiti –> <property name="workflowDefinitions"> <list> <props> <prop key="engineId">activiti</prop> <prop key="location">alfresco/workflow/prova.bpmn.xml</prop> <prop key="mimetype">text/xml</prop> <prop key="redeploy">true</prop> </props> </list> </property> <!– Modelli workflow associati agli elementi di processo (tramite activiti:key) –> <property name="models"> <list> <value>alfresco/workflow/workflowModel.xml</value> </list> </property> <!– Traduzioni delle etichette che si vedranno nella Web UI –> <property name="labels"> <list> <value>alfresco/workflow/workflow-messages</value> </list> </property> <property name="repositoryWorkflowDefsLocations" ref="customWorkflowDefsRepositoryLocation" /> </bean></beans>
as you see I'm using oob workflowModel.xml because I don't need custom model. But when I start my custom WF from Share I always get the "default" start task form (think it is bpm:startTask). Am I missing something in some config file?
Thank you!!!
Labels:
- Labels:
-
Archive
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2013 02:33 AM
Could you move your context file out of extension?
Also is your workflow visible with other workflows in start workflow wizard?
Also is your workflow visible with other workflows in start workflow wizard?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2013 02:51 AM
Thank you mitpatoliya. I can move my context file, but I think it's useless because Share already see my workflow, I can always start a new instance of it from Share UI. I 'm a bit lost. I don't want to create a new model for new types, I don't need them!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2013 02:41 AM
I always get the standard input form. Do I have to modify the share-config-custom.xml?
[IMG]http://img.cogsci.nl/uploads/5174db044c20a.jpg[/IMG]
[IMG]http://img.cogsci.nl/uploads/5174db044c20a.jpg[/IMG]
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2013 05:18 AM
Well actually I was also wondering about your case I have checked the share-config-workflow.xml
There is already form configured for the task wf:submitGroupReviewTask which is the start task in your case.
And yes you do not required to created new workflow model if you are using OOTB model's task.
There is already form configured for the task wf:submitGroupReviewTask which is the start task in your case.
And yes you do not required to created new workflow model if you are using OOTB model's task.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2013 06:09 AM
In fact I don't know where to go. I'll take some time to go deeper in the case.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2013 10:49 AM
Koopa Actually I had not checked the image you have posted.
It is showing the details properly only. If you could see the approval percentage related property it is part of wf:submitGroupReviewTask only.
So, It is all right.
It will also show the properties of bpm:start task as it gets inherited.
And yes if you want to change it you need to do customization in share-config-custom.xml
It is showing the details properly only. If you could see the approval percentage related property it is part of wf:submitGroupReviewTask only.
So, It is all right.
It will also show the properties of bpm:start task as it gets inherited.
And yes if you want to change it you need to do customization in share-config-custom.xml