Getting back the orginator of a processinstance

  • 8 July 2008
  • 1 reply
  • 0 views

Badge +1

Im sure this is a easy question that im missing somehow. but how do i get the orginator of a process instance? When i get back my processinstance there does not seem to be a way to get a reference to the orginator. my code is similar to whats below . thanks in advance.

 

 For Each work As WorklistItem In workflowConnection.OpenWorklist()
                    If work.SerialNumber = sn Then
                        work.ProcessInstance.DataFields("DestinationUser").Value = user
                        work.ProcessInstance.Update()
                        work.Actions(Genericaction).Execute(True)
                        Exit For
                    End If
                Next

1 reply

Badge +1

Blake,

ty for the reply. I will give this method a shot. as a work around i made a smartobject the connected to service object server. and pulled the data i needed from workflow reporting service.

Reply