I have inherited some workflows and I understand how they work but now the K2 side, so check it.... I have a String Table that has these value
Execuitve = "Some Name";
ExcutieveEmail = "SomeName@SomeDomain.com";
Now with these values already set in the string table is it possible for me to change those values dynamically...in one of my desitination rules there is this code..
K2.Destinations.Add(DestinationType.User, K2.ProcessInstance.DataFields["Executive"].Value.ToString());
is there a way i can do something like this????
K2.ProcessInstance.DataFields["Executive"].Value = "WhatEverValueIWant"
K2.ProcessInstance.DataFields["ExecutiveEmail"].Value = "WhatEverEmailIWant";
K2.Destinations.Add(DestinationType.User, K2.ProcessInstance.DataFields["Executive"].Value.ToString());
K2.Destinations.Add(DestinationType.User, K2.ProcessInstance.DataFields["ExecutiveEmail"].Value.ToString());
Give yourself a round of applause!