
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â01-27-2017 04:30 AM
bonjour,
je travaille sous alfresco 5.0.d et je développe mon workflow avec activiti designer sous eclipse
dans mon workflow j'ai 4 taches (usertask) et donc 4 types définies dans mon modele
ces 4 types sont tous des sous types d'un mĂȘme type que j'ai dĂ©clare dans mon modĂšle.
j'ai fait ma configuration d'affichage coté share-config-custom.xml pour mes tùches. les formulaires de deux premiÚres tùches sont affichés tel que indiqué dans le <config..>
les deux autres formulaires sont affichés en totalité cad le <config...> n'est pas pris en compte
que dois je faire
help me
- Labels:
-
Language Groups
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â01-31-2017 10:08 AM
Je pense qu'il ya une erreur ici:
<config evaluator="task-type" condition="revisionIITask">
et ici:
<config evaluator="task-type" condition="revisionETask">
Il doit ĂȘtre:
<config evaluator="task-type" condition="cgwf:revisionIITask">
<config evaluator="task-type" condition="cgwf:revisionETask">
Essayer les solutions suivantes: Pourquoi ne pas vous juste un bloc et l'essayer si vous le voyez dans Share UI?
Et aussi: Revisez l' alfresco.log/catalina.out pour savoir l'erreur.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â01-30-2017 11:05 AM
Bonjour,
Si l'ensemble de vos formulaires sont dĂ©fini dans le mĂȘme fichiers de configuration et qu'une partie sont bien pris en compte le problĂšme n'est pas au niveau de la prise en compte de ce fichier de configuration mais plutĂŽt dans la dĂ©claration des formulaire eux-mĂȘmes.
Yann
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â01-31-2017 06:53 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â01-31-2017 08:37 AM
merci pour votre interet
voici la partie du share-config-custom.xml relatif au problematique:
<alfresco-config>
<config evaluator="string-compare" condition="activiti$conge3">
<forms>
....
</forms>
</config>
<config evaluator="task-type" condition="cgwf:chefTask">
<forms >
<form >
<field-visibility>
<show id="cgwf:matriculef" />
<show id="cgwf:nomprenomf" />
<show id="cgwf:gradef" />
<show id="cgwf:typecongef" />
<show id="cgwf:dureef" />
<show id="cgwf:datedebutf" />
<show id="cgwf:remarquechef" />
<show id="cgwf:remplacant" />
<show id="cgwf:decisionchef" />
<show id="transitions" />
</field-visibility>
<appearance>
<set id="response" appearance="title" label-id="workflow.set.response" />
<field id="cgwf:matriculef" read-only="true" set="response" />
<field id="cgwf:nomprenomf" read-only="true" set="response" />
<field id="cgwf:gradef" read-only="true" set="response" />
<field id="cgwf:typecongef" read-only="true" set="response" />
<field id="cgwf:dureef" read-only="true" set="response" />
<field id="cgwf:datedebutf" read-only="true" set="response" />
<field id="cgwf:remarquechef" set="response" />
<field id="cgwf:remplacant" set="response" />
<field id="cgwf:decisionchef" set="response" />
<field id="transitions" set="response" />
</appearance>
</form>
</forms>
</config>
<config evaluator="task-type" condition="cgwf:dafTask">
<forms >
<form>
<field-visibility>
<show id="cgwf:matriculef" />
<show id="cgwf:nomprenomf" />
<show id="cgwf:gradef" />
<show id="cgwf:typecongef" />
<show id="cgwf:dureef" />
<show id="cgwf:datedebutf" />
<show id="cgwf:remarquechef" />
<show id="cgwf:remplacant" />
<show id="cgwf:decisionchef" />
<show id="cgwf:remarquedaf" />
<show id="cgwf:decisiondaf" />
<show id="transitions" />
</field-visibility>
<appearance>
<set id="response" appearance="title" label-id="workflow.set.response" />
<field id="cgwf:matriculef" read-only="true" set="response" />
<field id="cgwf:nomprenomf" read-only="true" set="response" />
<field id="cgwf:gradef" read-only="true" set="response" />
<field id="cgwf:typecongef" read-only="true" set="response" />
<field id="cgwf:dureef" read-only="true" set="response" />
<field id="cgwf:datedebutf" read-only="true" set="response" />
<field id="cgwf:remarquechef" read-only="true" set="response" />
<field id="cgwf:remplacant" read-only="true" set="response" />
<field id="cgwf:decisionchef" read-only="true" set="response" />
<field id="cgwf:remarquedaf" set="response" />
<field id="cgwf:decisiondaf" set="response" />
<field id="transitions" set="response" />
</appearance>
</form>
</forms>
</config>
<config evaluator="task-type" condition="revisionETask">
<forms >
<form>
<field-visibility>
<show id="cgwf:matriculef" />
<show id="cgwf:nomprenomf" />
<show id="cgwf:gradef" />
<show id="cgwf:typecongef" />
<show id="cgwf:dureef" />
<show id="cgwf:datedebutf" />
<show id="cgwf:remarquechef" />
<show id="cgwf:remplacant" />
<show id="cgwf:decisionchef" />
<show id="cgwf:renvoyerounon" />
<show id="transitions" />
</field-visibility>
<appearance>
<set id="response" appearance="title" label-id="workflow.set.response" />
<field id="cgwf:matriculef" read-only="true" set="response" />
<field id="cgwf:nomprenomf" read-only="true" set="response" />
<field id="cgwf:gradef" read-only="true" set="response" />
<field id="cgwf:remarquechef" read-only="true" set="response" />
<field id="cgwf:remplacant" read-only="true" set="response" />
<field id="cgwf:decisionchef" read-only="true" set="response" />
<field id="cgwf:typecongef" set="response" />
<field id="cgwf:dureef" set="response" />
<field id="cgwf:datedebutf" set="response" />
<field id="renvoyerounon" set="response" />
<field id="transitions" set="response" />
</appearance>
</form>
</forms>
</config>
<config evaluator="task-type" condition="revisionIITask">
<forms >
<form>
<field-visibility>
<show id="cgwf:matriculef" />
<show id="cgwf:nomprenomf" />
<show id="cgwf:gradef" />
<show id="cgwf:typecongef" />
<show id="cgwf:dureef" />
<show id="cgwf:datedebutf" />
<show id="cgwf:remarquechef" />
<show id="cgwf:remplacant" />
<show id="cgwf:decisionchef" />
<show id="cgwf:renvoyerounon" />
<show id="transitions" />
</field-visibility>
<appearance>
<set id="response" appearance="title" label-id="workflow.set.response" />
<field id="cgwf:matriculef" read-only="true" set="response" />
<field id="cgwf:nomprenomf" read-only="true" set="response" />
<field id="cgwf:gradef" read-only="true" set="response" />
<field id="cgwf:remarquechef" read-only="true" set="response" />
<field id="cgwf:remplacant" read-only="true" set="response" />
<field id="cgwf:decisionchef" read-only="true" set="response" />
<field id="cgwf:remarquedaf" read-only="true" set="response" />
<field id="cgwf:decisiondaf" read-only="true" set="response" />
<field id="cgwf:typecongef" set="response" />
<field id="cgwf:dureef" set="response" />
<field id="cgwf:datedebutf" set="response" />
<field id="renvoyerounon" set="response" />
<field id="transitions" set="response" />
</appearance>
</form>
</forms>
</config>
</alfresco-config>
donc voici les 4 config correspondent aux formulaires affichés; ce sont les deux derniers qui ne sont pas respectés (revisionETask et revisionIITask)
En fait, peut ĂȘtre qu'il faut savoir que j'ai dĂ©clarĂ© 4 types (1 par formulaire) qui hĂ©ritent tous d'un mĂȘme type (pour pouvoir passer les valeurs de propriĂ©tĂ©s d'un formulaire Ă un autre)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â01-31-2017 10:08 AM
Je pense qu'il ya une erreur ici:
<config evaluator="task-type" condition="revisionIITask">
et ici:
<config evaluator="task-type" condition="revisionETask">
Il doit ĂȘtre:
<config evaluator="task-type" condition="cgwf:revisionIITask">
<config evaluator="task-type" condition="cgwf:revisionETask">
Essayer les solutions suivantes: Pourquoi ne pas vous juste un bloc et l'essayer si vous le voyez dans Share UI?
Et aussi: Revisez l' alfresco.log/catalina.out pour savoir l'erreur.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â02-01-2017 02:19 AM
résolu
merci beaucoup Cristina MR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â02-01-2017 03:30 AM
