Question

J'ai un flux de travail d'approbation SharePoint Designer 2010 et je tente d'approuver les tâches via le modèle d'objet client JavaScript.Je suis capable de changer tous les champs en "complété" / "approuvé", mais le WF ne semble jamais remarquer le changement.

Quelqu'un a-t-il déjà effectué avec succès une tâche d'approbation pour l'approbation intégrée WF personnalisée avec SP Designer?Si oui, comment?

Était-ce utile?

La solution

I had to set the following fields (Internal Names) to the values given:

approvalValues["WorkflowOutcome"] = "Approved";
approvalValues["FormData"] = "Completed";
approvalValues["Status"] = "Approved";
approvalValues["PercentComplete"] = 1;
approvalValues["Completed"] = true;

The key here was Status, FormData, and Completed. It was no way obvious to me that those would be required to be set to the values given. "Approved" is not even listed as a possible value for Status.

Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top