Escalation: Unable to get destination user name

  • 2 November 2005
  • 1 reply
  • 1 view

Badge +3
Hi,
We are currently trying to use K2 Escalation function, to send email remainders the workflow participants.
We will like to include the destination user name in the email template. i.e. [{K2.ActivityInstanceDestination.User.Name}]. However, we noticed that the destination user name is not in the Data viewer. (but this field does exist in the Data viewer for the SMTP Notification Message template)

So, we manually add in the field in the email template and we get this compilcation error:

Line 25: 'ActivityInstanceDestination' is not a member of 'SourceCode.KO.EscalationActionContext'

Is there any workaround for this?

1 reply

Badge +9
Hi,

Unfortunately not, the context determines the available options in things like the DataViewer. You can also refer to the K2.net 2003 Object (Sourcecode.KO namespace) in the help file to get an idea of the available context you are coding in.

Reply