Hi everyone!
I'm a newbye, so don't be angry if i had lot of mistakes! :-)
I've create a Wizard called "Extended Client Event": i've added one more xaml page to Default Client Event before FinishPage.xaml.
I've create a datafield and added it in the K2control in the page;
I've edited @safeitemname@.xoml.cs with this new method (after UntilCondition method):
private
Init(Object sender, EventArgs e){
K2.ActivityInstanceDestination.ActivityInstance.DataFields[
"Metadata"].Value = K2.Configuration.ActivityMetadata;
}
Everything runs.
Afterwards i've create new workflow project to test it: that project has a Start Activity, my Activity and Finish Server Event.
I've builded and deployed it: everything runs.
Then i've opened the workspace and started an instance of that process. The status is in ERROR and it displays me this message:
Extended Client Event | 28006 Datafield Metadata not found |
Anyone can help me?