Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Nintex Context DataItem for All Approvers in Xml format
/// <summary>
/// Context DataItem for All Approvers in Xml format
/// </summary>
public class AllApproverCommentsXml : ContextDataItemBase
{
/// <summary>
///
/// </summary>
/// <param name="ctx"></param>
/// <returns></returns>
public override object GetValueObject(NWWorkflowContext ctx)
{
return GetLastApproverCommentsAsXml(ctx);
}
internal string GetLastApproverCommentsAsXml(NWWorkflowContext ctx)
{
return new NintexTaskCollection(ctx.InstanceID, ctx.Web).GetAllApprovalTaskCommentsAsXml();
}
/// <summary>
/// Internal Name
/// </summary>
public override string InternalName
{
get { return "AllApproverCommentsXml"; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment