Specifically, I did the following:
- remove the opening
and closing query tag - change the double quote to single quote in the query.
SharePoint, MOSS, WSS, 2007, 2010, 2013, workflow, InfoPath, SharePoint Designer, SharePoint InfoPath
private SPListItem WorkflowItem { get { SPDocumentLibrary library = (SPDocumentLibrary)WorkflowProperties.Web.Lists[WorkflowProperties.ListId]; return library.GetItemById(WorkflowProperties.ItemId); } }