Undocumented SharePoint workflow events and outcomes

Hi all,

I've read many search hits on this topic and simply can't find anything concise out there regarding the specific meaning of some status events/outcomes and the particular circumstances behind their occurrence in SharePoint workflows.

If someone can offer insight, that would be great!

1 - Event = "Task Rolled Back" / Description = "Task updated by <user to whom the task was assigned> was rejected" / Outcome = "The user who attempted to complete the task is not the user to whom the task is assigned."

What does "Task Rolled Back" mean exactly...?  What circumstances had to transpire to have this logged?

2. - Event "Task Completed" / Description = "Task assigned to <user> was delegated by <user>." / Outcome = "Delegated by <user> to <user>"

I understand that workflows can be reassigned, but I can't find any evidence that SP workflows can be designated (unless you are using Nintex workflows).

What is happening here?  What circumstances had to transpire to have this logged?

Thanks!

Paul


July 3rd, 2013 4:08pm

Hi Paul,

From my research, not all events of Start Approval Process action could be capture from SharePoint Designer, like the events Task Rolled Back, Task reassigned you mentioned.

When we open the approval task form from InfoPath Designer, we can see the data connections used by the Request Change and Reassign Task button bound to the Submit To host data connections. The Submit to host adapter raises a submit event to the host with custom code.
http://msdn.microsoft.com/en-us/library/ms778201.aspx

It is difficult to us to change the custom code of cause. But I think following workaround should help you to capture these events.

  1. Add one more task form field to approval task form, name the task field Status.
  2. Add below action to the rules added to the Send buttons on ReassignTask and ChangeRequest views respectively as they are first action.
  3. When user is requested for a change, set Status = 1.
    When user is requested for reassign task, Set Status =2.

In this way, we can get the event from Status column. Then you may do some remains steps for the requirement.

Thanks & Regards,
Emir

Free Windows Admin Tool Kit Click here and download it now
July 4th, 2013 5:04am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics