How to see the data of a finished task?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2014 05:34 PM
Hi everyone,
I'm building a workflow that has 3 tasks, and each task has associated a different form with different properties. Each of these tasks are assigned to a different group. For example, in the first task the group1 entry property1, property2, property3, in the second task the group2 entry property4 and property5, and in the third task the group3 entry property6.
I want that the group2 can see the values of the properties that entry for the group1, and group3 can see the values of the properties that entry for group1 and group2.
The idea of this workflow is save the values of the properties and review them at any time.
Any idea?
Greetings,
Pablo Arak.
I'm building a workflow that has 3 tasks, and each task has associated a different form with different properties. Each of these tasks are assigned to a different group. For example, in the first task the group1 entry property1, property2, property3, in the second task the group2 entry property4 and property5, and in the third task the group3 entry property6.
I want that the group2 can see the values of the properties that entry for the group1, and group3 can see the values of the properties that entry for group1 and group2.
The idea of this workflow is save the values of the properties and review them at any time.
Any idea?
Greetings,
Pablo Arak.
Labels:
- Labels:
-
Archive
7 REPLIES 7
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2014 12:13 AM
If you don't have this properties on content and you want to have them on the workflow task itself then you can take below approach.
While defining the workflow model, have all these properties in an aspect. For all the workflow tasks apply this aspect. Doing this, all these properties will be available during whole workflow. Configure your workflow tasks form to show these properties. This way, all these properties will be available in each task and user can view its values.
Hope this helps.
While defining the workflow model, have all these properties in an aspect. For all the workflow tasks apply this aspect. Doing this, all these properties will be available during whole workflow. Configure your workflow tasks form to show these properties. This way, all these properties will be available in each task and user can view its values.
Hope this helps.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2014 05:54 PM
Hi Ramesh,
Thanks for your reply, you help me to understand the use of aspects.
I'm trying to implement what you tell me, but I have problems for show the data entered in the task1, into task2 (I attach an image corresponding to the form of task2). The data entered in task1 is: bcwf:ejecutivoVenta, bcwf:fecha, bcwf:campaña, bcwf:certificador, bcwf:rutCliente, bcwf:link, bcwf:supervisor, bcwf:folioCliente, bcwf
bservacion. These data are shown as "(Ninguno)".
My workflow model is:
And my share-config-custom.xml:
Thanks again for any help
Greetings,
Pablo Arak.
Thanks for your reply, you help me to understand the use of aspects.
I'm trying to implement what you tell me, but I have problems for show the data entered in the task1, into task2 (I attach an image corresponding to the form of task2). The data entered in task1 is: bcwf:ejecutivoVenta, bcwf:fecha, bcwf:campaña, bcwf:certificador, bcwf:rutCliente, bcwf:link, bcwf:supervisor, bcwf:folioCliente, bcwf

My workflow model is:
<types> <type name="bcwf:iniciarRefCal"> <parent>bpm:startTask</parent> </type> <type name="bcwf:activitiCompletarCertificacion"> <parent>bpm:workflowTask</parent> <mandatory-aspects> <aspect>bcwf:referenteCalidadCertificador</aspect> </mandatory-aspects> </type> <type name="bcwf:activitiCompletarCalidad"> <parent>bpm:workflowTask</parent> <mandatory-aspects> <aspect>bcwf:referenteCalidadCalidad</aspect> </mandatory-aspects> </type> <type name="bcwf:activitiCompletarSupervision"> <parent>bpm:workflowTask</parent> <mandatory-aspects> <aspect>bcwf:referenteCalidadSupervisor</aspect> </mandatory-aspects> </type> </types> <aspects> <aspect name="bcwf:referenteCalidadCertificador"> <title>Certificador Completa Referente Calidad</title> <properties> <property name="bcwf:ejecutivoVenta"> <type>d:text</type> </property> <property name="bcwf:certificador"> <type>d:text</type> </property> <property name="bcwf:supervisor"> <type>d:text</type> </property> <property name="bcwf:fecha"> <type>d:date</type> </property> <property name="bcwf:rutCliente"> <type>d:text</type> </property> <property name="bcwf:folioCliente"> <type>d:text</type> </property> <property name="bcwf:campaña"> <type>d:text</type> </property> <property name="bcwf:link"> <type>d:text</type> </property> <property name="bcwf:observacion"> <type>d:text</type> </property> </properties> </aspect> <aspect name="bcwf:referenteCalidadCalidad"> <title>Calidad Completa Referente Calidad</title> <properties> <property name="bcwf:obsCalidad"> <type>d:text</type> </property> <property name="bcwf:estado"> <type>d:text</type> </property> <property name="bcwf:prioridad"> <type>d:text</type> </property> <property name="bcwf:fechaEnvio"> <type>d:date</type> </property> </properties> </aspect> <aspect name="bcwf:referenteCalidadSupervisor"> <title>Certificador Completa Referente Calidad</title> <properties> <property name="bcwf:realizado"> <type>d:text</type> </property> <property name="bcwf:fechaCoaching"> <type>d:date</type> </property> </properties> </aspect> </aspects>
And my share-config-custom.xml:
<config evaluator="string-compare" condition="activiti$completaRefCal"> <forms> <form> <field-visibility> <show id="bpm:workflowDescription" /> <show id="packageItems" /> <show id="transitions" /> <show id="bpm:status" /> </field-visibility> </form> </forms> </config> <config evaluator="task-type" condition="bcwf:iniciarRefCal"> <forms> <form id="workflow-details"> <field-visibility> <show id="bpm:workflowDescription" /> <show id="packageItems" /> <show id="transitions" /> <show id="bpm:status" /> </field-visibility> </form> </forms> </config> <config evaluator="task-type" condition="bcwf:activitiCompletarCertificacion"> <forms> <form> <field-visibility> <show id="bpm:workflowDescription" /> <show id="packageItems" /> <show id="bcwf:ejecutivoVenta" /> <show id="bcwf:certificador" /> <show id="bcwf:supervisor" /> <show id="bcwf:fecha" /> <show id="bcwf:rutCliente" /> <show id="bcwf:folioCliente" /> <show id="bcwf:campaña" /> <show id="bcwf:link" /> <show id="bcwf:observacion" /> <show id="transitions" /> <show id="bpm:status" /> </field-visibility> </form> </forms> </config> <config evaluator="task-type" condition="bcwf:activitiCompletarCalidad"> <forms> <form> <field-visibility> <show id="bpm:workflowDescription" /> <show id="packageItems" /> <show id="bcwf:ejecutivoVenta" /> <show id="bcwf:certificador" /> <show id="bcwf:supervisor" /> <show id="bcwf:fecha" /> <show id="bcwf:rutCliente" /> <show id="bcwf:folioCliente" /> <show id="bcwf:campaña" /> <show id="bcwf:link" /> <show id="bcwf:observacion" /> <show id="bcwf:obsCalidad" /> <show id="bcwf:estado" /> <show id="bcwf:prioridad" /> <show id="bcwf:fechaEnvio" /> <show id="transitions" /> <show id="bpm:status" /> </field-visibility> <appearance> <set id="info" appearance="" template="/org/alfresco/components/form/3-column-set.ftl" /> <field id="bcwf:ejecutivoVenta" set="info"> <control template="/org/alfresco/components/form/controls/info.ftl" /> </field> <field id="bcwf:certificador" set="info"> <control template="/org/alfresco/components/form/controls/info.ftl" /> </field> <field id="bcwf:supervisor" set="info"> <control template="/org/alfresco/components/form/controls/info.ftl" /> </field> <field id="bcwf:fecha" set="info"> <control template="/org/alfresco/components/form/controls/info.ftl" /> </field> <field id="bcwf:rutCliente" set="info"> <control template="/org/alfresco/components/form/controls/info.ftl" /> </field> <field id="bcwf:folioCliente" set="info"> <control template="/org/alfresco/components/form/controls/info.ftl" /> </field> <field id="bcwf:campaña" set="info"> <control template="/org/alfresco/components/form/controls/info.ftl" /> </field> <field id="bcwf:link" set="info"> <control template="/org/alfresco/components/form/controls/info.ftl" /> </field> <field id="bcwf:observacion" set="info"> <control template="/org/alfresco/components/form/controls/info.ftl" /> </field> </appearance> </form> </forms> </config>
Thanks again for any help

Greetings,
Pablo Arak.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2014 10:26 PM
I could see that you have created 3 aspects one for each task to show the properties for that task and applied them separately on each of them. Instead, try putting all 3 aspects on all 3 tasks and you should be able to get the values entered in first task on the second task form. Please try that and see if it is working for you or not.
Hope this helps.
Hope this helps.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2014 09:38 AM
Hi Ramesh,
I put the 3 aspects on all 3 tasks but nothing happens.
Greetings,
Pablo Arak.
I put the 3 aspects on all 3 tasks but nothing happens.
Greetings,
Pablo Arak.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2014 06:34 PM
Hey Pablo.
I have a sample project here that I can share with you.
Can you send me your email by PM?
I have a sample project here that I can share with you.
Can you send me your email by PM?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2014 10:42 AM
Hi Douglas,
Ok, I send you a PM with my email.
Thanks.
Greetings,
Pablo Arak.
Ok, I send you a PM with my email.
Thanks.
Greetings,
Pablo Arak.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2014 08:57 AM
Thanks.
The reason of why this not working is which in the file service-context.xml, the redeploy key is "false". I changed this to "true" and all is working.
Greetings,
Pablo Arak.
The reason of why this not working is which in the file service-context.xml, the redeploy key is "false". I changed this to "true" and all is working.
Greetings,
Pablo Arak.
