SP2013 VS State level Workflow error
Hi All,
I have my application running smoothly which uses 2 stage state level workflow, in workflow some basic calculations happening and assign tasks to users as task progress, after first stage of workflow i get this error message in log file on button click,
Stack trace:
at Microsoft.SharePoint.SPListItem.PrepareItemForUpdate(SPWeb web, Boolean bMigration, Boolean& bAdd, Boolean& bPublish, Object& objAttachmentNames,
Object& objAttachmentContents)
at Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean
bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents, String filename, Boolean bPreserveItemUIVersion)
at RedMills.Intranet.Workflows.Layouts.RedMills.ExpenseManager.ExpenseApprovalForm.Submit_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
could not figure out what the error is , please help
Hi,
If you want to know more about how the error occurred, it is recommended to debug the workflow to get more details about the error.
Here are some links about how to debug workflow in SharePoint 2013 for your reference:
http://www.c-sharpcorner.com/UploadFile/shyjumohan/how-to-debug-workflow-with-workflow-manager-1-0-and-visual-s/
http://ranaictiu-technicalblog.blogspot.in/2013/03/sharepoint-2013-workflow-debugdiagnosis.html
http://www.andrewconnell.com/blog/SP2013-Workflow-Advanced-Workflow-Debugging-with-Fiddler
Best regards
Patrick Liang
TechNet Community Support
Similar Messages
-
Three State Approval Workflow Error
I have created one Task List. Add Three state approval workflow to it.
When i created New Task. It started workflow. But after couple of minutes it throws error "Error Occured". How to find error.
Please let me know. If you know any resolution for workflow error then also let me know.
Thanks in advance.Hi,
Please go to the task list settings page, click Assigned to column and check "No" for "Allow multiple selections", then check whether the issue still exists or not.
Here are two threads for your reference:
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/9231b505-7e78-4e98-b6c0-02ad85b247c3/error-occured-three-state-workflow-multiple-selection?forum=sharepointcustomizationlegacy
http://social.technet.microsoft.com/Forums/sharepoint/en-US/5a9f37ea-40b4-494b-b4af-db15be9d91ff/error-occured-three-state-workflow?forum=sharepointgenerallegacy
Best Regards
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Error in posting :First create the jurisdiction code at state level ()-URGE
Hi,
We are getting ERROR "First create the jurisdiction code at state level ()" at the time of postiong . This is HST calculated on benefit that we are trying to post;;
GL account tax category is defined as '<' in FS01 and posting without tax allowed is not checked. Are we missing aything;
Regards,
NeelimaHi Neelima,
Tax Jurisdiction code is related mainly to US.
Please check the if tax jurisdiction code is maintained in SPRO > Financial Accounting > Financial Accounting Global Settings 's basic settings part. If not, maintain the same for the state. This might help you.
Best Regards,
Venkat.
Edited by: Venkateswara Sarma Bhamidipati on Jan 1, 2011 4:45 AM -
i have developed the State machine workflow in which i am using default workflow task
i have added one status dropdown and that is having approve or reject that i set using workflow task drop down values
now my requirement is that when my workflow goes to different approval i need to have different status values in dropdown
for example
on manager approval state activity i need to add additional status value forward to legal
but when it moved to next activity this task status field should show only approve and reject
in summary i need to have different status values for workflow task when it moved to different state activity(approval levels)
can we set these status field of task for state machine workflow programtically as well like for different approval level of task i need different status to be set for the dropdown of task status field
MCTS,ITILHi Shahid Siddique,
I have seen a similar thread from you about this issue, create custom form for the seperate form is a considerable workaround, you can have a check whether it works.
http://social.technet.microsoft.com/Forums/en-US/9baa0c32-1cde-4c58-aa7c-3568ccf0cdc9/different-approval-level-of-task-i-need-different-status-to-be-set-for-the-dropdown-of-task-status?forum=sharepointdevelopmentprevious
Thanks,
Qiao Wei
TechNet Community Support -
State machine site level workflow activated but not showing in the workflow list
I developed my state machine workflow using visual studio 2010 its successfully deployed; even I can see the feature is activated on site collection level, but its not showing in the list settings --> workflow settings --> add workflow Any Reason ??
note: I am working on share point 2010
Nazish Ali RizviThanks Bhavik,
I got the answer , actually I didn't experience it before with site workflows , it shows where we create a list just beside you can find site workflows, off course feature activation is necessary after that for workflow activation this is the way.
http://www.codeproject.com/Articles/416393/Create-a-Workflow-using-Visual-Studio
this is also a helpful article.
Nazish Ali Rizvi -
Service Manager 2012 R2 - Workflow Error - Event ID 4513
Hi,
We started to suffer a Workflow error in Service Manager 2012 R2 2 weeks ago. We noticed through the failure of some SLOs not being applied on Work Items. The error is the follow:
Log Name: Operations Manager
Source: HealthService
Date: 13/03/2014 12:10:00
Event ID: 4513
Task Category: Health Service
Level: Error
Keywords: Classic
User: N/A
Computer: XXX-XXX-XXX
Description:
The callback method DeliverDataToModule failed with exception "'', hexadecimal value 0x1F, is an invalid character." in the module Microsoft.EnterpriseManagement.SystemCenter.Subscription.WindowsWorkflowWriteAction.
Workflow: WorkItem_SetFirstAssingedTo_RelationhsipAdd_Rule
Instance: Destino do Fluxo de Trabalho (interno)
Instance ID: {383E578B-E1C9-2802-0047-815853405778}
Management Group: CTRPROD
Full Exception Text:
System.ArgumentException: '', hexadecimal value 0x1F, is an invalid character.
at System.Xml.XmlEncodedRawTextWriter.InvalidXmlChar(Int32 ch, Char* pDst, Boolean entitize)
at System.Xml.XmlEncodedRawTextWriter.WriteElementTextBlock(Char* pSrc, Char* pSrcEnd)
at System.Xml.XmlEncodedRawTextWriter.WriteString(String text)
at System.Xml.XmlWellFormedWriter.WriteValue(String value)
at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, Boolean verifyKnownType, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithXsiType(XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type
declaredType)
at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerializeReference(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
at WriteArrayOfanyTypeToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , CollectionDataContract )
at System.Runtime.Serialization.CollectionDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)
at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerializeReference(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
at WriteResultToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )
at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)
at System.Runtime.Serialization.DataContractSerializer.InternalWriteObjectContent(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)
at System.Runtime.Serialization.DataContractSerializer.InternalWriteObject(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)
at System.Runtime.Serialization.XmlObjectSerializer.WriteObjectHandleExceptions(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)
at System.Runtime.Serialization.DataContractSerializer.WriteObject(XmlWriter writer, Object graph)
at Microsoft.EnterpriseManagement.SystemCenter.Subscription.DataItemSubscription.GenerateItemXml(XmlWriter writer)
at Microsoft.EnterpriseManagement.HealthService.DataItemBase.GenerateItemXmlInternal()
at Microsoft.EnterpriseManagement.HealthService.DataItemBase.GetItemXml()
at Microsoft.EnterpriseManagement.HealthService.DataItemBase.QueryItem(XPathExpression xpathQuery)
at Microsoft.EnterpriseManagement.SystemCenter.Subscription.TokenReplaceWindowsWorkflowTaskParameterValue.TokenResolver(String tokenValue)
at Microsoft.EnterpriseManagement.SystemCenter.Subscription.TokenResolver.RegexMatchEvaluator(Match m)
at System.Text.RegularExpressions.RegexReplacement.Replace(MatchEvaluator evaluator, Regex regex, String input, Int32 count, Int32 startat)
at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator)
at Microsoft.EnterpriseManagement.SystemCenter.Subscription.TokenResolver.Resolve(String str)
at Microsoft.EnterpriseManagement.SystemCenter.Subscription.TokenReplaceWindowsWorkflowTaskParameterValue.GenerateWindowsWorkflowTaskParameterValue(String elementTemplate)
at Microsoft.EnterpriseManagement.SystemCenter.Subscription.WindowsWorkflowTaskParameterValue.Resolve(TokenReplaceWindowsWorkflowTaskParameterValue resolver)
at Microsoft.EnterpriseManagement.SystemCenter.Subscription.WindowsWorkflowTaskArrayParameter.Resolve(TokenReplaceWindowsWorkflowTaskParameterValue resolver)
at Microsoft.EnterpriseManagement.SystemCenter.Subscription.WindowsWorkflowTask.Resolve(DataItemBase[] dataItems)
at Microsoft.EnterpriseManagement.SystemCenter.Subscription.WindowsWorkflowWriteAction.ProcessDataItems(DataItemBase[] dataItems)
at Microsoft.EnterpriseManagement.SystemCenter.Subscription.WindowsWorkflowWriteAction.OnNewDataItems(DataItemBase[] dataItems, Boolean isLogicalSet, DataItemAcknowledgementCallback acknowledgedCallback, Object acknowledgedState, DataItemProcessingCompleteCallback
completionCallback, Object completionState)
at Microsoft.EnterpriseManagement.HealthService.Internal.InputPortCallbacks.InputStreamBatchedAcknowledgedCallbackHandler`1.InputPortCallbackImplementation(DataItemBase[] dataItems, Boolean isBatchLogicalSet, DataItemAcknowledgementCallback
acknowledgementCallback, DataItemProcessingCompleteCallback completionCallback)
at Microsoft.EnterpriseManagement.HealthService.Internal.ModuleContainer`1.Microsoft.EnterpriseManagement.HealthService.Internal.IModuleContainer.DeliverDataToModule(UInt32 inputPortNumber, DataItemBase[] dataItems, Boolean isBatchLogicalSet,
DataItemAcknowledgementCallback acknowledgementCallback, DataItemProcessingCompleteCallback completionCallback)
at Microsoft.EnterpriseManagement.HealthService.Internal.ManagedHostHelper.Microsoft.EnterpriseManagement.HealthService.Internal.IManagedHostHelper.DeliverBatchedDataToModule(UInt32 inputPortNumber, Object moduleInputReference, DataItemBase[]
dataItems, UInt32 dataItemCount, Boolean isBatchLogicalSet, Object completionReference)
Event Xml:
<Event xmlns='http://schemas.microsoft.com/win/2004/08/events/event'><System><Provider Name='HealthService'/><EventID Qualifiers='49152'>4513</EventID><Level>2</Level><Task>1</Task><Keywords>0x80000000000000</Keywords><TimeCreated
SystemTime='2014-03-13T15:10:00.000000000Z'/><EventRecordID>4953905</EventRecordID><Channel>Operations Manager</Channel><Computer>CTR-SCSM-MS01.sp.local</Computer><Security/></System><EventData><Data>CTRPROD</Data><Data>WorkItem_SetFirstAssingedTo_RelationhsipAdd_Rule</Data><Data>Destino
do Fluxo de Trabalho (interno)</Data><Data>{383E578B-E1C9-2802-0047-815853405778}</Data><Data>DeliverDataToModule</Data><Data>'', hexadecimal value 0x1F, is an invalid character.</Data><Data>Microsoft.EnterpriseManagement.SystemCenter.Subscription.WindowsWorkflowWriteAction</Data><Data>System.ArgumentException:
'', hexadecimal value 0x1F, is an invalid character.
at System.Xml.XmlEncodedRawTextWriter.InvalidXmlChar(Int32 ch, Char* pDst, Boolean entitize)
at System.Xml.XmlEncodedRawTextWriter.WriteElementTextBlock(Char* pSrc, Char* pSrcEnd)
at System.Xml.XmlEncodedRawTextWriter.WriteString(String text)
at System.Xml.XmlWellFormedWriter.WriteValue(String value)
at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, Boolean verifyKnownType, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithXsiType(XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type
declaredType)
at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerializeReference(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
at WriteArrayOfanyTypeToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , CollectionDataContract )
at System.Runtime.Serialization.CollectionDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)
at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerializeReference(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
at WriteResultToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )
at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)
at System.Runtime.Serialization.DataContractSerializer.InternalWriteObjectContent(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)
at System.Runtime.Serialization.DataContractSerializer.InternalWriteObject(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)
at System.Runtime.Serialization.XmlObjectSerializer.WriteObjectHandleExceptions(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)
at System.Runtime.Serialization.DataContractSerializer.WriteObject(XmlWriter writer, Object graph)
at Microsoft.EnterpriseManagement.SystemCenter.Subscription.DataItemSubscription.GenerateItemXml(XmlWriter writer)
at Microsoft.EnterpriseManagement.HealthService.DataItemBase.GenerateItemXmlInternal()
at Microsoft.EnterpriseManagement.HealthService.DataItemBase.GetItemXml()
at Microsoft.EnterpriseManagement.HealthService.DataItemBase.QueryItem(XPathExpression xpathQuery)
at Microsoft.EnterpriseManagement.SystemCenter.Subscription.TokenReplaceWindowsWorkflowTaskParameterValue.TokenResolver(String tokenValue)
at Microsoft.EnterpriseManagement.SystemCenter.Subscription.TokenResolver.RegexMatchEvaluator(Match m)
at System.Text.RegularExpressions.RegexReplacement.Replace(MatchEvaluator evaluator, Regex regex, String input, Int32 count, Int32 startat)
at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator)
at Microsoft.EnterpriseManagement.SystemCenter.Subscription.TokenResolver.Resolve(String str)
at Microsoft.EnterpriseManagement.SystemCenter.Subscription.TokenReplaceWindowsWorkflowTaskParameterValue.GenerateWindowsWorkflowTaskParameterValue(String elementTemplate)
at Microsoft.EnterpriseManagement.SystemCenter.Subscription.WindowsWorkflowTaskParameterValue.Resolve(TokenReplaceWindowsWorkflowTaskParameterValue resolver)
at Microsoft.EnterpriseManagement.SystemCenter.Subscription.WindowsWorkflowTaskArrayParameter.Resolve(TokenReplaceWindowsWorkflowTaskParameterValue resolver)
at Microsoft.EnterpriseManagement.SystemCenter.Subscription.WindowsWorkflowTask.Resolve(DataItemBase[] dataItems)
at Microsoft.EnterpriseManagement.SystemCenter.Subscription.WindowsWorkflowWriteAction.ProcessDataItems(DataItemBase[] dataItems)
at Microsoft.EnterpriseManagement.SystemCenter.Subscription.WindowsWorkflowWriteAction.OnNewDataItems(DataItemBase[] dataItems, Boolean isLogicalSet, DataItemAcknowledgementCallback acknowledgedCallback, Object acknowledgedState, DataItemProcessingCompleteCallback
completionCallback, Object completionState)
at Microsoft.EnterpriseManagement.HealthService.Internal.InputPortCallbacks.InputStreamBatchedAcknowledgedCallbackHandler`1.InputPortCallbackImplementation(DataItemBase[] dataItems, Boolean isBatchLogicalSet, DataItemAcknowledgementCallback
acknowledgementCallback, DataItemProcessingCompleteCallback completionCallback)
at Microsoft.EnterpriseManagement.HealthService.Internal.ModuleContainer`1.Microsoft.EnterpriseManagement.HealthService.Internal.IModuleContainer.DeliverDataToModule(UInt32 inputPortNumber, DataItemBase[] dataItems, Boolean isBatchLogicalSet,
DataItemAcknowledgementCallback acknowledgementCallback, DataItemProcessingCompleteCallback completionCallback)
at Microsoft.EnterpriseManagement.HealthService.Internal.ManagedHostHelper.Microsoft.EnterpriseManagement.HealthService.Internal.IManagedHostHelper.DeliverBatchedDataToModule(UInt32 inputPortNumber, Object moduleInputReference, DataItemBase[]
dataItems, UInt32 dataItemCount, Boolean isBatchLogicalSet, Object completionReference)</Data></EventData></Event>
Has anybody faced the same problem?
Thanks
ThiagoHi Thomas,
Thanks for your response. I understood your comments but, the system was running fine for about 3 months. No changes have been applied during this time and suddenly this error pops out.
I opened a case with MS Support, but they applied a WA which does not resolve our problem, because the error appears after a few days later after the WA procedure.
The WA is just a watermark reset using this SQL query:
DECLARE @MaxTransactionId Int, @RuleID uniqueidentifier
SET @RuleID = '' -- <-- SET THIS TO YOUR RULE ID!!!
SET @MaxTransactionId = (SELECT MAX(EntityTransactionLogId) FROM EntityTransactionLog)
UPDATE CmdbInstanceSubscriptionState
SET State = @MaxTransactionId
WHERE RuleId = @RuleID
The problem with this WA is that all Work Items affected by the problem - workflows not being applied - do not get the information we need to identify all the SLA's. The system just "forget" them and moves on.
Cheers,
Thiago -
WorkFlow Error when publishing
Hello,
I am having errors publishing workflows. This was working and all of a sudden stopped. From the error message I am taking it as a permissions issue?
Here is the code it spits out:
System.InvalidOperationException: Operation failed with error System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.
at Microsoft.SharePoint.SPAppPrincipalManager.GetManager(SPWeb web)
at Microsoft.SharePoint.WorkflowServices.SPWebWorkflowSecurityContext.EnsureAppPrincipal(SPWeb elevatedWeb)
at Microsoft.SharePoint.WorkflowServices.SPWebWorkflowSecurityContext.<SetupApplicationEcosystem>b__3()
at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<Run
Anyone have any thoughts? This happens with all sorts of workflows, even basic ones as shown in the above example!
Thanks,
WillHi,
For your issue, Re-register the workflow service using command:
Register-SPWorkflowService -SPSite 'https://myhost/mysite' -WorkflowHostUri 'https://workflowhost' -AllowOAuthHttp -Force
Reopened SharePoint Designer again and test again.
Here are similar posts, you can use as a reference:
https://social.technet.microsoft.com/Forums/en-US/61b2cfad-355d-4a43-8dd6-7d6813cd1b2f/sharepointdesigner-error-when-publishing-a-workflow?forum=sharepointcustomizationprevious
http://sp2013.pro/2013/04/solution-errors-were-found-when-compiling-the-workflow-the-workflow-files-were-saved-but-cannot-be-run-cannot-set-unknown-member/
Best Regards,
Lisa Chen
Lisa Chen
TechNet Community Support -
First create the jurisdisction code 'JI' at state level
Hi Gurus
We have a problem with travel trip expenses while posting to accounting. We got the following error
"First create the jurisdisction code 'JI' at state level " while posting to accounting. We have maintained all the tables including
"no input tax" checked in table V_706D_B." and also the transaction code OBCL to create the jurisdiction code at state level. We got this error after applying the service packs level upto 30. If anyone knows the solution please help me to resolve this issue..
Thanks
KumarSally
Thanks for your quick response. As mentioned in my message we have already maintained the table V_706D_B with radio button checked 'no input tax'. We had this problem after we applied the service packs upto 30 level. Please let me know if you have any other solutions.
Thanks
Kumar -
SharePoint 2013 State Machine Workflow Developped using Visual Studio 2013 Terminated
Hi all,
I developped a state machine workflow using Visual Studio 2013, and deplyed to SharePoint 2013, the workflow work fine for first task, and some times for second task.
after that the workflow become terminated with below error:
- System.Activities.Statements.WorkflowTerminatedException: The workflow instance exceeded the throttle of 10000 activities executed in a row and could not be unloaded because it was not persistable.
I spent many days to solve this issue but witout any result...
Please advice...Hi,
According to your description, there seems an endless loop in your workflow which makes the workflow exceed the throttle.
A suggestion is that you can create a new clean sample state machine workflow firstly, when it works without error, then adding other activities with custom logic
gradually.
By doing this, it would be easier to find out what might cause the error in this workflow.
A demo about Create State machine Workflow In SharePoint 2013 for your reference:
http://www.splessons.com/2013/12/create-state-machine-workflow-in-sharepoint-2013-using-visual-studio-2012/
Best regards,
Patrick
Patrick Liang
TechNet Community Support -
How to create a three state approval workflow in SharePoint 2013 using visual studio 2013
Hi Everyone,
i have a requirement like 3 state to approve. Here is the details:- when the item added into the list it will go for reviewer. Once the reviewer review the item, he will assign the task to concern person/department(Parallel process more than two persons).
Once they will approve the request again it will come back to reviewer and he will assign the task to team member(parallel process). Once the team member accepted then workflow terminate.
i want develop this workflow using visual studio 2013 only, not using designer..
Thanks in Advance.....
MalleshHello,
you can find multiple sample on the web like those
http://www.splessons.com/2013/12/create-state-machine-workflow-in-sharepoint-2013-using-visual-studio-2012/
http://msdn.microsoft.com/en-us/library/ee231606.aspx
I don't think that's very different using VS2013 or VS2012
Best regards, Christopher.
Blog |
Mail
Please remember to click "Mark As Answer" if a post solves your problem or
"Vote As Helpful" if it was useful.
Why mark as answer? -
Workflow Error Message: System Account - The Workflow could not set Content Approval Status
This is the first time I try an approval workflow. I am using a template in MS Word and assigned an approval workflow to it. The approval workflow is only going to one person in this case.
When I start the work flow the following 3 error messages show up:
Workflow Error Message: System Account - The Workflow could not set Content Approval Status. Enable content moderation for this list and run the workflow again.
Workflow Error Message: System Account - The e-mail message cannot be sent. Make sure the e-mail has a valid recipient.
Workflow Error Message: System Account - The e-mail message cannot be sent. Make sure the outgoing e-mail settings for the server are configured correctly.
Thank you for your kind guidance.Hi,
For the first error: Did you set Content Approval in the workflow? If so, see if you have it in the versioning settings of the list settings.
For the second error: double check your recipient is set up as being valid. Did you type in the email address or is it referring to a people picker field? also, make sure that in the workflow for the email that you actually populated it in the
To: field.
for the third error: I suspect that either your farm is not configured for email. Or, this error is a knock on from the second error. If you get the second error rectified it may clear this error. If not then double check the email settings
for your farm.
Johnathan Lightfoot -
Workflow error when submitting Employment Verification Letter in ESS Portal
in ESS Portal, when trying to send the employment verification letter by mail I get a workflow error in ECC. Error occurs in workflow template WS01000045 (Employment and Salary Verification) task TS00408262 (PF: Find basic pay). The employee submitting the verification letter request is an active employee, has infotype 105 data in the system, and has basic pay data in the system.
workflow log (SWI1) shows the "Basic Pay" object available and when double clicking on the object, it brings me to PA20 where I can see the Basic Pay infotype with correct data.
Can someone help?
note: the employee is Canadian, in case this matters.
TiberiuHave you created the resposibilities for the rule 60100010 becuase if you observe the rule it will determine the agents by using the category Agent Determination: Reponsibilities so i think you missed to create responsibilities
for creating responsibilities [check|http://help.sap.com/saphelp_nw70/helpdata/EN/ef/3dc9469bbe11d189470000e8216659/content.htm]
Also check that if Rule fails to determine the agents correctly then how can you [handle|http://help.sap.com/saphelp_nw70/helpdata/EN/7f/aed54c9c8d11d1894c0000e8216659/content.htm] -
Issue in N level workflow of shopping cart
Hi all,
SRM5.0 and ECC5, using ECS scenario
We are using the N level workflow ( SC approval workflow and not item level workflow) with the BADI for determining the approvers of the shopping cart.
The following are issues faced during rejection:
1. When the 1st approver rejects some of the line items and approves others, The SC is sent back to the requester or. the requester accepts the changes, the SC instead of going to the next level of approvers gets approved.
I have debugged and found that the actual index is set to 2 and the next level of approvers are determined correctly in the BADI, once it is out of the BADI, something happens and the SC is approved and it doesn't go for approval.
2. When the 1st approver approves all the line items and the 2nd approver does a partial rejection, the SC is sent back to the requester and once the requester accepts the changes, the workflow restarts and the approvers are redetermined again.
For the 2nd issue, if its a standard process, Can onyone provide me with a document or a OSS note which can be used for substantiating it. Does this behavior correspond to the back and forth process of N level workflow?
Thanks and Regards
KishanHi Munna,
The code just determines the approvers for each level, this works fine when I debug but it changes after the control comes out of the N level BADI.
Is there any other check which I need to do?
Regards
Kishan -
i have been trying to create an apple ID for the past 2 days and cannot succeed : it states an unknown error has occurred and no ID is created. What to do?
The internet is the internet. if its not working then its something to do with your not allowing cookies from apple's site or they are having issues.
-
Statement level trigger!!!!
Hi Gurus,
I have an issue here. I am inserting multiple rows in a table say A. so I wrote an after insert trigger for each row referencing new as new and old as old on table A. This trigger when fired inserts rows in table B.
These rows are selected from say table C by using the :new.column (one of the coulmns that are about to be inserted in tableA) of table A as parameter and then inserted into table B. But I want that trigger to fire only once though I am inserting multiple rows.
For this purpose I took out the "for each row and referencing new as new and old as old statements" to make it statement level trigger but in this case I am unable to use the :new.column of table A as parameters. Can anyone please suggest how to read the rows in statement level trigger that are being inserted in table A and pass them as parameters to select the values from table C and again insert them in table B. I know it is kinda confusing. Any suggestions...... Thanks in advance!!!!!Hi warren,
Thnx for ur response. here is the code
CREATE OR REPLACE TRIGGER ALPHA_AIR
AFTER INSERT
ON ALPHA
REFERENCING NEW AS NEW OLD AS OLD
FOR EACH ROW
DECLARE
l_source varchar2(10);
l_amount number;
l_comments varchar2(50);
BEGIN
SELECT b_source,
b_amount,
b_comments
INTO l_source,
l_amount,
l_comments
FROM BETA
WHERE beta_id=:new.alpha_id:
INSERT INTO GAMMA
( g_source,
g_amount,
g_comments,
date )
VALUES (
l_source,
l_amount,
l_comments,
sysdate);
END;
The trigger is on table ALPHA and it selects data from BETA using :new.alpha_id as parameter. But for multiple rows inserted in table ALPHA, multiple times rows are inserted in table GAMMA. So I made it statement level trigger but I cannot pass :new.alpha_id as parameter in the select statement. Is there any way to do this. Hope it makes sense.
Maybe you are looking for
-
What does ths mean "Superbad" was not copied to the iPod "User's iPod" because it cannot be played on this iPod
-
How to display field Functional Location Field in Asset Master Data
Dear Experts, I really appreciate for your advices on how to display Functional Location Field in Asset Master data. I have checked the configuration on path IMG:\Financial Accounting->Asset Accounting->Master Data->Screen Layout->Define Screen Layou
-
Why do old purchases always transfer when I sync my phone?
I've had these apps forever, but every single time I sync my phone they decide they need to transfer. It takes an extra 10-15 minutes every time I want to sync, when they're already on my phone/itunes! Why does this happen? Can I stop this?
-
K, this printer has just been FRUSTRATING! I've searched everywhere online for answers, including HP support and all that jazz, but to no avail. My problem is, every time I turn on the printer and try to print anything at all, I get a "Paper Jam" err
-
Hi all, I have a macbook pro retina and in the past two months certain whites have started to appear very yellow. It happens randomly. At first I thought it had to do with the "Flux" programme (that turns your screen orange as night falls), and then