Hi,
I don't have access to the KnowledgeBase -- so excuse my lack of research.
On my PlanPage I show the originator. This is also a datafield in my process. I tried setting the Originator intial value to [{K2.ProcessInstance.Originator.Name}] but that didn't work.
I'm writing in VB.Net. How can my PlanPage show the originator?
thanks
Page 1 / 1
I think the Originator value is only set when you post the plan page...
try this in you code (i'm sorry but only know the C#)
Context.User.Identity.Name (will give you Domainuser) or Environment.UserName (will give your just the name)
It will give you the name of the person who has launched the smart form
try this in you code (i'm sorry but only know the C#)
Context.User.Identity.Name (will give you Domainuser) or Environment.UserName (will give your just the name)
It will give you the name of the person who has launched the smart form
Tanguy is right - the Originator is only set once the Plan Page has been submitted.
Also, as far as I know, this is a Read-Only field and can't be changed once it is set. If you need to change or otherwise keep track of a different user, you'll have to save the info into a process level datafield.
Regards,
Ockert
Also, as far as I know, this is a Read-Only field and can't be changed once it is set. If you need to change or otherwise keep track of a different user, you'll have to save the info into a process level datafield.
Regards,
Ockert
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.