000017005 - Workflow Notifications are not sent. Error transforming notification.

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 22, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000017005
Applies ToRSA Archer
IssueWhen Workflow is enabled for an application and a workflow notification fails to send, the following RSA Archer error is logged:
<ApplicationData>
<TraceData>
<DataItem>
<TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
<TraceIdentifier>ArcherTech.JobFramework</TraceIdentifier>
<Description>Error transforming notification</Description>
<AppDomain>ArcherTech.JobFramework.Job.exe</AppDomain>
<Exception>
<ExceptionType>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
<Message>Error transforming notification</Message>
<Source>ArcherTech.Notifications</Source>
<StackTrace> at ArcherTech.Notifications.Workflow.SendNotificationJob.ReThrowFault_ExecuteCode(Object sender, EventArgs e)
at System.Workflow.ComponentModel.Activity.RaiseEvent(DependencyProperty dependencyEvent, Object sender, EventArgs e)
at System.Workflow.Activities.CodeActivity.Execute(ActivityExecutionContext executionContext)
at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)
at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
at System.Workflow.Runtime.Scheduler.Run()</StackTrace>
<InnerException>
<ExceptionType>System.Xml.Xsl.XslTransformException, System.Data.SqlXml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
<Message>An error occurred during a call to extension function 'LookupValue'. See InnerException for a complete description of the error.</Message>
<Source>System.Data.SqlXml</Source>
<StackTrace> at System.Xml.Xsl.Runtime.XmlExtensionFunction.Invoke(Object extObj, Object[] args)
at System.Xml.Xsl.Runtime.XmlQueryContext.InvokeXsltLateBoundFunction(String name, String namespaceUri, IList`1[] args)
at System.Xml.Xsl.CompiledQuery.Query.&lt;xsl:template match="ValuePlaceholder"&gt;(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, Double {urn:schemas-microsoft-com:xslt-debug}position, Double {urn:schemas-microsoft-com:xslt-debug}last, IList`1 {urn:schemas-microsoft-com:xslt-debug}namespaces, IList`1 objectId) in :line 184
at System.Xml.Xsl.CompiledQuery.Query.&lt;xsl:apply-templates&gt;(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator , Double , Double , IList`1 )
at System.Xml.Xsl.CompiledQuery.Query.&lt;xsl:template name="StringContentDisplayPlaceholder"&gt;(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, Double {urn:schemas-microsoft-com:xslt-debug}position, Double {urn:schemas-microsoft-com:xslt-debug}last, IList`1 {urn:schemas-microsoft-com:xslt-debug}namespaces, IList`1 objectId) in :line 103
at System.Xml.Xsl.CompiledQuery.Query.&lt;xsl:template match="a:DisplayPlaceholder" mode="column"&gt;(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, Double {urn:schemas-microsoft-com:xslt-debug}position, Double {urn:schemas-microsoft-com:xslt-debug}last, IList`1 {urn:schemas-microsoft-com:xslt-debug}namespaces, IList`1 objectId) in :line 74
at System.Xml.Xsl.CompiledQuery.Query.&lt;xsl:apply-templates mode="column"&gt; (2)(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator , Double , Double , IList`1 )
at System.Xml.Xsl.CompiledQuery.Query.&lt;xsl:template match="a:Placeholders"&gt;(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, Double {urn:schemas-microsoft-com:xslt-debug}position, Double {urn:schemas-microsoft-com:xslt-debug}last, IList`1 {urn:schemas-microsoft-com:xslt-debug}namespaces, IList`1 objectId, IList`1 Rows, IList`1 MyCurrent) in :line 61
at System.Xml.Xsl.CompiledQuery.Query.&lt;xsl:apply-templates&gt;(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator , Double , Double , IList`1 )
at System.Xml.Xsl.CompiledQuery.Query.&lt;xsl:template name="TemplateContentDisplayPlaceholder"&gt;(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, Double {urn:schemas-microsoft-com:xslt-debug}position, Double {urn:schemas-microsoft-com:xslt-debug}last, IList`1 {urn:schemas-microsoft-com:xslt-debug}namespaces, IList`1 objectId) in :line 133
at System.Xml.Xsl.CompiledQuery.Query.&lt;xsl:template match="a:DisplayPlaceholder" mode="column"&gt;(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, Double {urn:schemas-microsoft-com:xslt-debug}position, Double {urn:schemas-microsoft-com:xslt-debug}last, IList`1 {urn:schemas-microsoft-com:xslt-debug}namespaces, IList`1 objectId) in :line 80
at System.Xml.Xsl.CompiledQuery.Query.&lt;xsl:apply-templates mode="column"&gt; (2)(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator , Double , Double , IList`1 )
at System.Xml.Xsl.CompiledQuery.Query.&lt;xsl:template match="a:Placeholders"&gt;(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, Double {urn:schemas-microsoft-com:xslt-debug}position, Double {urn:schemas-microsoft-com:xslt-debug}last, IList`1 {urn:schemas-microsoft-com:xslt-debug}namespaces, IList`1 objectId, IList`1 Rows, IList`1 MyCurrent) in :line 61
at System.Xml.Xsl.CompiledQuery.Query.&lt;xsl:apply-templates&gt;(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator , Double , Double , IList`1 )
at System.Xml.Xsl.CompiledQuery.Query.&lt;xsl:template match="a:Template"&gt;(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, Double {urn:schemas-microsoft-com:xslt-debug}position, Double {urn:schemas-microsoft-com:xslt-debug}last, IList`1 {urn:schemas-microsoft-com:xslt-debug}namespaces) in :line 35
at System.Xml.Xsl.CompiledQuery.Query.&lt;xsl:apply-templates&gt; (2)(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator , Double , Double )
at System.Xml.Xsl.CompiledQuery.Query.&lt;xsl:apply-templates&gt; (2)(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator , Double , Double )
at System.Xml.Xsl.CompiledQuery.Query.Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
at System.Xml.Xsl.CompiledQuery.Query.Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer)
at System.Xml.Xsl.XslCompiledTransform.Transform(XmlReader input, XsltArgumentList arguments, TextWriter results)
at ArcherTech.Notifications.NotificationConverter.TransformNotification(XmlDocument sourceDocument, NotificationXslExtensions xslExtensions)
at ArcherTech.Notifications.NotificationConverter.ConvertToHtml(XmlDocument sourceDocument, NotificationXslExtensions xslExtensions, SessionContext sessionContext)</StackTrace>
<InnerException>
<ExceptionType>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
<Message>Unable to find html field value for typename 'ArcherTech.Notifications.Providers.Value.ArcherContentNotificationValueProvider, ArcherTech.Notifications'</Message>
<Source>ArcherTech.Notifications</Source>
<StackTrace> at ArcherTech.Notifications.xslt.NotificationXslExtensions.LookupValue(XPathNodeIterator lookupDefinition, XPathNodeIterator objectIdXPath, String typeName)</StackTrace>
<InnerException>
<ExceptionType>System.ArgumentNullException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
<Message>Value cannot be null. Parameter name: page</Message>
<Source>System.Web.Extensions</Source>
<StackTrace> at System.Web.UI.ScriptManager.GetCurrent(Page page)
at ArcherTech.Web.UI.Controls.GenericContent.ReferenceField.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer)
at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer)
at ArcherTech.Web.UI.Controls.GenericContent.MultiReferenceField.RenderChildren(HtmlTextWriter writer)
at ArcherTech.Web.UI.Controls.GenericContent.MultiReferenceField.Render(HtmlTextWriter writer)
at ArcherTech.Web.UI.Controls.GenericContent.SimpleSearchResultView.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer)
at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer)
at ArcherTech.Web.UI.Controls.GenericContent.ReferenceField.RenderChildren(HtmlTextWriter writer)
at ArcherTech.Web.UI.Controls.GenericContent.ReferenceField.Render(HtmlTextWriter writer)
at ArcherTech.Notifications.ContentRender.GetFieldHtml(Int32 contentId, Int32 fieldId)
at ArcherTech.Notifications.Rendering.RenderEngine.GetFieldHtml(Int32 contentId, Int32 fieldId)
at ArcherTech.Notifications.Providers.Value.ArcherContentNotificationValueProvider.GetHtmlReplacement(String objectId, ValuePlaceholder valuePlaceholder)
at ArcherTech.Notifications.xslt.NotificationXslExtensions.LookupValue(XPathNodeIterator lookupDefinition, XPathNodeIterator objectIdXPath, String typeName)</StackTrace>
</InnerException>
</InnerException>
</InnerException>
</Exception>
</TraceRecord>
</DataItem>
</TraceData>
</ApplicationData>
CauseThis error typically occurs when the Workflow Notification is corrupt.
Resolution
  1. Set the Letterhead to No Selection and Body Layout to Free Form. 
  2. Save changes.
  3. Verify notification is sent.
  4. Change Letterhead and Body Layout back to previous values.
  5. Save changes.
  6. Verify notification is sent with correct setting/layout.
Legacy Article IDa63962

Attachments

    Outcomes