Skip to main content
Hello, I've got a process with a client page where at start of the process, the person who will be filling out my client page will get an email with a direct link to the client page (rather than using the default workspace). I'm building the link and adding the serial number, however the serial number is incorrect because the event instance ID for the server email is being used instead of the event instance ID for the next step, the client page.

within the server email code:

strURL += "&sn={SERIALNO}";
strURL = strURL.Replace("{SERIALNO}",K2.SerialNumber);


So what I'm wondering is can I do a looking up for the event instance ID of a particular item, preferably by name? I can just add one to it, but of course this is a bad solution since if the process changes or items get moved and/or deleted, there's no guarantee the ID will stay the same.

Any thoughts?
If you're trying to send an email to the destination user of the activity with a link to the client page, why not just use the SMTP notification option in the client event properties?

have a look at this post to see where this option is set...
http://forum.k2workflow.com/viewtopic.php?t=1110
This does the trick.

Reply