HI,
Infopath client event was the source of approval notification email where a worklist item link appears, there was a requirement to remove the notification email set in infopath client event and i had created url through email create event, though the url is same as generated through infopath client event i get the message as " "There are no worklist items for this user, or the item has already been actioned" ...not usre what is the root cause.Pls suggest how to fix it.
URL format followed is :
String hold_task_item_link = string.Concat("<a href='",
K2.StringTable["GBIP_P2P_Site_URL"], "/_layouts/K2/RuntimeServices/OpenInfoPathTask.aspx?K2Server",
"K2Server=",
K2.StringTable["GBIP_P2P_K2Server"],
"&SN=",
K2.ProcessInstance.ID.ToString(),
"_",
K2.ActivityInstanceDestination.ID.ToString(),
"&XmlFN=",
K2.StringTable["GBIP_P2P_FormName"],
"&Lib=",
K2.StringTable["GBIP_P2P_Site_URL"],"/",
K2.StringTable["GBIP_P2P_LibName"],
"&OpenAsWebPage=False&DeployBrowserEnable=False&SPURL=",
K2.StringTable["GBIP_P2P_Site_URL"],
"&Single=False","'>TaskItem</a>");
"There are no worklist items for this user, or the item has already been actioned".