Support #6718
ferméWorkflow:Droits sur les actions/états - Anomalie
0%
Description
**PROBLEME TRES URGENT **************
Un etat appel deux actions.
Une action pour les rôles "Champion"
Une action pouir les rôles "Team"
Définition de l'état:
<state name="state_immediateEfficacity" timeoutNotifyAdmin="true">
<label role="default" lang="default">Waiting to Efficacity Immediate</label>
<workingUsers>
<relatedUser folderItem="init_processpilot" role="processPilote"/>
<relatedUser folderItem="takeover_user_01" role="processTeam"/>
<relatedUser folderItem="takeover_user_02" role="processTeam"/>
<relatedUser folderItem="takeover_user_03" role="processTeam"/>
<relatedUser folderItem="takeover_user_04" role="processTeam"/>
<relatedUser folderItem="takeover_user_05" role="processTeam"/>
</workingUsers>
<interestedUsers>
<relatedUser folderItem="init_distribution_01" role="viewer"/>
<relatedUser folderItem="init_distribution_02" role="viewer"/>
<relatedUser folderItem="immediate_pilot_01" role="viewer"/>
<relatedUser folderItem="immediate_pilot_02" role="viewer"/>
<relatedUser folderItem="immediate_pilot_03" role="viewer"/>
<relatedUser folderItem="ctrl_escalate_routage_01" role="viewer"/>
<relatedUser folderItem="ctrl_escalate_routage_02" role="viewer"/>
<relatedUser participant="initiator" role="processInitiator"/>
</interestedUsers>
<allowedActions>
<allow action="action_immediateEfficacityChampion"/>
<allow action="action_immediateEfficacityTeam"/>
</allowedActions>
<timeOutActions>
<timeOutAction action="action_immediateRelaunchUserD10" delay="10d" order="1"/>
</timeOutActions>
</state>
Définition sur les 2 actions:
<action name="action_immediateEfficacityChampion" kind="update" form="form_immediateEfficacity">
<label role="default" lang="default">Approve Immediate Actions</label>
<allowedUsers>
<relatedUser folderItem="init_processpilot" role="processPilote"/>
</allowedUsers>
<consequences>
<consequence>
<kill>false</kill>
<set state="state_immediateApprove"/>
<notify message="Hello,<BR>For the MGIC Alert level ${folder.init_level}for about ${folder.init_entityDivision}, }${folder.init_entitySite}, ${folder.init_entitySubsidiary} ${folder.init_entityGroup} about dysfunction : ${folder.init_what}<BR>. You are defined champion of this MGI Coutier Alert<BR>You have to inform the date immediate action done and effectiveness<BR>Please find MGIC alert attached">
<relatedUser folderItem="init_distribution_01" role="viewer"/>
<relatedUser folderItem="init_distribution_02" role="viewer"/>
<relatedUser folderItem="takeover_distribution_01" role="viewer"/>
<relatedUser folderItem="takeover_distribution_02" role="viewer"/>
<relatedUser folderItem="immediate_pilot_01" role="viewer"/>
<relatedUser folderItem="immediate_pilot_02" role="viewer"/>
<relatedUser folderItem="immediate_pilot_03" role="viewer"/>
</notify>
<triggers/>
</consequence>
</consequences>
</action>
<action name="action_immediateEfficacityTeam" kind="update" form="form_immediateEfficacity">
<label role="default" lang="default">Complete Immediate Actions</label>
<allowedUsers>
<relatedUser folderItem="takeover_user_01" role="processTeam"/>
<relatedUser folderItem="takeover_user_02" role="processTeam"/>
<relatedUser folderItem="takeover_user_03" role="processTeam"/>
<relatedUser folderItem="takeover_user_04" role="processTeam"/>
<relatedUser folderItem="takeover_user_05" role="processTeam"/>
</allowedUsers>
<consequences>
<consequence>
<kill>false</kill>
<set state="state_immediateEfficacity"/>
<notify message="Hello,<BR>For the MGIC Alert level ${folder.init_level}for about ${folder.init_entityDivision}, }${folder.init_entitySite}, ${folder.init_entitySubsidiary} ${folder.init_entityGroup} about dysfunction : ${folder.init_what}<BR>. You are defined champion of this MGI Coutier Alert<BR>You have to inform the date immediate action done and effectiveness<BR>Please find MGIC alert attached">
<relatedUser folderItem="init_distribution_01" role="viewer"/>
<relatedUser folderItem="init_distribution_02" role="viewer"/>
<relatedUser folderItem="takeover_distribution_01" role="viewer"/>
<relatedUser folderItem="takeover_distribution_02" role="viewer"/>
<relatedUser folderItem="immediate_pilot_01" role="viewer"/>
<relatedUser folderItem="immediate_pilot_02" role="viewer"/>
<relatedUser folderItem="immediate_pilot_03" role="viewer"/>
</notify>
<triggers/>
</consequence>
</consequences>
</action>
Les deux rôle voient les deux boutons d'action...???
Mis à jour par Sebastien Vuillet il y a plus de 9 ans
- Statut changé de New à Feedback
Sur l'action "action_immediateEfficacityChampion" les utilisateurs autorisés sont :
<relatedUser folderItem="init_processpilot" role="processPilote"/>
Alors que sur l'action "action_immediateEfficacityTeam" les utilisateurs autorisés sont :
<relatedUser folderItem="takeover_user_01" role="processTeam"/>
<relatedUser folderItem="takeover_user_02" role="processTeam"/>
<relatedUser folderItem="takeover_user_03" role="processTeam"/>
<relatedUser folderItem="takeover_user_04" role="processTeam"/>
<relatedUser folderItem="takeover_user_05" role="processTeam"/>
La visibilité des boutons ne dépend donc pas des rôle "processPilote" et "processTeam", mais des personnes affectées aux items init_processpilot, takeover_user_01, takeover_user_02, takeover_user_03, takeover_user_04, takeover_user_05.
Si le même utilisateurs est sélectionnées dans ses items alors les deux boutons seront visibles.
Mis à jour par Nicolas Eysseric il y a environ 9 ans
- Tracker changé de Bug à Support
Merci de clore le cas échéant...
Mis à jour par Marc Avenel il y a environ 9 ans
- Statut changé de Feedback à Closed
Problème réglé
Merci