Meilleur auteur de réponses
Problème de création workflow standard SharePoint 2010

Question
-
Bonjour,
Quand je veux créer un workflow standard de publication dans une bibliothèque de documents SharePoint 2010, j'ai le message d'erreur ci-dessous quand je dois accèder à la 2 ème page pour renseigner les noms des
approbateurs (pour la première page j'accède sans problème (pour renseigner le type du flux, le nom, etc..)
et dans les logs j'ai les messages suivants:
****** SharePoint Foundation Topology e5mb Medium WcfReceiveRequest: LocalAddress: 'http://adresseserveur:035545e490573d89bee6fce5/ProfileDBCacheService.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://Microsoft.Office.Server.UserProfiles/GetUserData' MessageId: 'urn:uuid:9f391ca2-3bbf-453c-a006-870417af77af' 28bacfa8-f68b-4aa4-b353-9c4c95b4f0b9
******Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=0,800101688901802 28bacfa8-f68b-4aa4-b353-9c4c95b4f0b9
Avez-vous une idée de l'origine du problème??
Merci par avance
Réponses
-
Bonsoir,
J'ai déjà eu ce problème a cause d'une Master Page customisee mais je doute que ce soit la cause de ton soucis car dans mon cas les workflow n'avaient rien à voir...
Maintenant si tu as une MP customisee, essaye toujours avec la master page de base (v4) pour voir si le soucis vient de là... ou pas ;)
Pascal P
http://sharepoint-afterwork.fr
Twitter: @PascalPoeck
Facebook : https://www.facebook.com/SharePointAfterWork- Proposé comme réponse Pascal P mardi 6 novembre 2012 13:52
- Marqué comme réponse Anis HADDAD mardi 6 novembre 2012 13:56
-
Tout simplement parce que SharePoint présume que tu utilises Outlook comme client mail. Normalement il y a un bouton dans la Taskbar d'Outlook qui te permet d'ouvrir la tâche directement.
Si tu utilise Lotus comme client tu devras modifier le mail envoyé via SharePoint Designer. Doug Chandler a expliqué cela sur le forum US :
Open the site collection with SharePoint Designer
Open Workflows
Click on Document Approval and make a copy of it and give it a unique name
Edit the workflow
Edit a single task in the workflow
Wherever there is a workflow step to send an email, edit it and check the text, I changed the text to "Open this task to accept or reject the approval, or View the status of this task for more actions"
Change Open this task to a hyperlink (on the toolbar) and set the location to %currentTask:form_URN%
Change View the status of this task to a hyperlink and set the location to %workflowContext:WorkflowStatusUrl%
Save the workflow
Globally deploy the workflow
In each document library, add a new workflow using the new global workflow above
Set the workflow to be used as document approval
Pascal P
http://sharepoint-afterwork.fr
Twitter: @PascalPoeck
Facebook : https://www.facebook.com/SharePointAfterWork- Marqué comme réponse Anis HADDAD mardi 6 novembre 2012 15:36
Toutes les réponses
-
Bonsoir,
J'ai déjà eu ce problème a cause d'une Master Page customisee mais je doute que ce soit la cause de ton soucis car dans mon cas les workflow n'avaient rien à voir...
Maintenant si tu as une MP customisee, essaye toujours avec la master page de base (v4) pour voir si le soucis vient de là... ou pas ;)
Pascal P
http://sharepoint-afterwork.fr
Twitter: @PascalPoeck
Facebook : https://www.facebook.com/SharePointAfterWork- Proposé comme réponse Pascal P mardi 6 novembre 2012 13:52
- Marqué comme réponse Anis HADDAD mardi 6 novembre 2012 13:56
-
Bonjour Pascal,
Merci pour ta réponse, en effet la master page customisée est à l'origine du message d'erreur :-)
Une petite question concernant les workflows: j'ai mis un documents dans une bibliothèque sur laquelle j'ai activé le workflow, malgré que le statut d'approbation est en cours, les utilisateurs voient le document.
Est-ce que c'est normal??!! d'où ça peut venir le problème?
Merci par avance
-
Je pense que tu devrais plutôt envisager l'approbation de contenu avec le versioning plutôt que le workflow d'approbation pour obtenir ce résultat. Le workflow d'approbation ne permet pas de jouer sur la visibilité d'un document donc, oui c'est normal ;-)
Pascal P
http://sharepoint-afterwork.fr
Twitter: @PascalPoeck
Facebook : https://www.facebook.com/SharePointAfterWork -
-
Tout simplement parce que SharePoint présume que tu utilises Outlook comme client mail. Normalement il y a un bouton dans la Taskbar d'Outlook qui te permet d'ouvrir la tâche directement.
Si tu utilise Lotus comme client tu devras modifier le mail envoyé via SharePoint Designer. Doug Chandler a expliqué cela sur le forum US :
Open the site collection with SharePoint Designer
Open Workflows
Click on Document Approval and make a copy of it and give it a unique name
Edit the workflow
Edit a single task in the workflow
Wherever there is a workflow step to send an email, edit it and check the text, I changed the text to "Open this task to accept or reject the approval, or View the status of this task for more actions"
Change Open this task to a hyperlink (on the toolbar) and set the location to %currentTask:form_URN%
Change View the status of this task to a hyperlink and set the location to %workflowContext:WorkflowStatusUrl%
Save the workflow
Globally deploy the workflow
In each document library, add a new workflow using the new global workflow above
Set the workflow to be used as document approval
Pascal P
http://sharepoint-afterwork.fr
Twitter: @PascalPoeck
Facebook : https://www.facebook.com/SharePointAfterWork- Marqué comme réponse Anis HADDAD mardi 6 novembre 2012 15:36