WLPI start workflow error (IllegalStateException)
I have eval copy of WLPI on WLS5.1 with jdk1.2.2 and Oracle.
I get the following error when trying to start a workflow in the worklist
(same problem with the tutorial or also a very very small "do nothing"
workflow):
The server was unable to complete your request.
IllegalStateException: Illegal attempt to call EJBContext.getRollbackOnly()
from an EJB that was not participating in a transaction.
java.lang.IllegalStateException: Illegal attempt to call
EJBContext.getRollbackOnly() from an EJB that was not participating in a
transaction.
The error seems (by inspecting the server window) to come from the "Not
Null" constraint in the WorkflowInstance table - (SYS_C002661) - but I guess
this is just a "symptom" of something else.....
would very much like to continue so any help very much appreciated!
Best regards
--Egil
I am wondering what is a reasonable 'independent contractor' fee,
specifically, online instruction for someone who is certified in BEA
Weblogic Server?
Thanks.
"Egil P.Andersen" <[email protected]> wrote in message
news:[email protected]..
>
I have eval copy of WLPI on WLS5.1 with jdk1.2.2 and Oracle.
I get the following error when trying to start a workflow in the worklist
(same problem with the tutorial or also a very very small "do nothing"
workflow):
The server was unable to complete your request.
IllegalStateException: Illegal attempt to callEJBContext.getRollbackOnly()
from an EJB that was not participating in a transaction.
java.lang.IllegalStateException: Illegal attempt to call
EJBContext.getRollbackOnly() from an EJB that was not participating in a
transaction.
The error seems (by inspecting the server window) to come from the "Not
Null" constraint in the WorkflowInstance table - (SYS_C002661) - but Iguess
this is just a "symptom" of something else.....
would very much like to continue so any help very much appreciated!
Best regards
--Egil
Similar Messages
-
Error when sending xml to queue to start workflow
I am trying to start workflow by sending xml to the com.bea.wlpi.EventQueue. My xml
looks like this:
msgText:<zenith><claimAssignment><policyId>2990</policyId><claimId>1986</claimId><subjectId>1</subjectId><subjectTypeId>1</subjectTypeId><branchId>1</branchId><state>CA</state><county>LosAngeles</county><zipcode>91367</zipcode><claimantLastName>Bromberg</claimantLastName><catastrophic>N</catastrophic><workflowtasks>
<checkBranch>1</checkBranch><checkPolicy>0</checkPolicy><checkClaimType>1</checkClaimType><checkAlphaRange>1</checkAlphaRange><checkWorkload>0</checkWorkload></workflowtasks></claimAssignment></zenith>
I define variable claimId in start node as expression XPath("/zenith/claimAssignment/claimId/text()")
When invoking trying tostart the workflow I am getting the error javax.ejb.CreateException:
The mandatory input variable "claimId" is not specified. But it is defined with valid
XPath. Can somebody help me please?
Thanks,
David
I captured debugging info from workflow:
EventListener 907019 Ordered Message Bean has an Order ID of -1
EventProcessor 7954372 ExecuteThread: '0' for queue: 'default': Started transact
ion Xid=70:04e708c2(2179749),Status=Active,numRepliesOwedMe=0,numRepliesOwedOthe
rs=0,seconds since begin=0,seconds left=90,activeThread=Thread[ExecuteThread: '0
' for queue: 'default',5,Thread Group for Queue: 'default'],SCInfo[bpmdomain+mys
erver]=(state=active),OwnerTransactionManager=ServerTM[ServerCoordinatorDescript
or=(CoordinatorURL=myserver+192.168.2.128:7001+bpmdomain+, Resources={})])
EventProcessor 7954372 ExecuteThread: '0' for queue: 'default': Key value expres
sion = null
EventProcessor 7954372 ExecuteThread: '0' for queue: 'default': Processing com.b
ea.wlpi.server.eventprocessor.JMSEventData@2dc941[contentType=text/xml,eventDesc
riptor=zenith,keyValue=null,content=[#document: null],expiration=0,startInstance
ID=null,instanceIDs=null,templateNames=null,messageID=null,header=[JMSCorrelatio
nID=null,JMSDeliveryMode=1,JMSDestination=eventQueue,JMSRedelivered=false,JMSExp
iration=0,JMSMessageID=ID:N<638439.994966410390.0>,JMSTimestamp=994966410390,JMS
Priority=4,JMSReplyTo=null,JMSType=null],properties=[]]
EventProcessor 7954372 ExecuteThread: '0' for queue: 'default': There are 1 cand
idates
EventProcessor 7954372 ExecuteThread: '0' for queue: 'default': checking trigger
for candidate - com.bea.wlpi.server.eventprocessor.EventCandidate@48c644[condit
ion=null,plugin=null,fieldID=0,templateID=2005,templateDefinitionID=6001,instanc
eID=null,nodeID=1,startOrg=CDExpress,orgIsExpr=false]
EventProcessor 7954372 ExecuteThread: '0' for queue: 'default': Matched event da
ta to start node 1 in template 2005
javax.ejb.CreateException: The mandatory input variable "claimId" is not specifi
ed.
at com.bea.wlpi.server.instance.WorkflowInstanceData.<init>(WorkflowInst
anceData.java:307)
at com.bea.wlpi.server.instance.WorkflowInstanceBean.ejbCreate(WorkflowI
nstanceBean.java:292)
at com.bea.wlpi.server.instance.WorkflowInstance_h6bur0__WebLogic_CMP_RD
BMS.ejbCreate(WorkflowInstance_h6bur0__WebLogic_CMP_RDBMS.java:1513)Is this issue resolved? Could you share the AXL / Client profile agent logs during the login?
-
Error in starting workflow queue listener
I have registered jobs with OEM using Warehouse builder workflow deployment
wizard. Following jobs has been registerd with OEM :
1) ACRM_IWF_ACRM_PWF
2)ACRM_IWF_OWB_STD_BEGIN
3) ACRM_IWF_OWB_STD_END
4) ACRM_IWF_OWB_STD_ERROR
Now i submit "ACRM_IWF_ACRM_PWF" from the OEM . I shows me status of the JOB as
"Failed" and gives the following error message:
Error in starting workflow listener: ** Initializing queue listener
** Initialized queue listener
** Recovering item type ACRM_IWF
** In recovery mode
** Recovery complete
** Processing all item types
** Waiting to dequeue message in listener
** Processing job 0x4143524D5F4957465F4F57425F5354445F424547494E
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String
index out of range: -1
at java.lang.String.substring(String.java:1085)
at
oracle.wh.runtime.workflowrt.QueueListener.parseParameters(QueueListener.java:10
03)
at oracle.wh.runtime.workflowrt.QueueListener.startJob(QueueListener.java:798)
at
oracle.wh.runtime.workflowrt.QueueListener.processJobs(QueueListener.java:746)
at
oracle.wh.runtime.workflowrt.QueueListener.initAndRun(QueueListener.java:299)
at oracle.wh.runtime.workflowrt.QueueListener.main(QueueListener.java:197)
1This is not actually a Workflow component, this is part of the Oracle Warehouse Builder product, although the name is similar to the Workflow Agent Listener in v2.6.
I have registered jobs with OEM using Warehouse builder workflow deployment
wizard. Following jobs has been registerd with OEM :
1) ACRM_IWF_ACRM_PWF
2)ACRM_IWF_OWB_STD_BEGIN
3) ACRM_IWF_OWB_STD_END
4) ACRM_IWF_OWB_STD_ERROR
Now i submit "ACRM_IWF_ACRM_PWF" from the OEM . I shows me status of the JOB as
"Failed" and gives the following error message:
Error in starting workflow listener: ** Initializing queue listener
** Initialized queue listener
** Recovering item type ACRM_IWF
** In recovery mode
** Recovery complete
** Processing all item types
** Waiting to dequeue message in listener
** Processing job 0x4143524D5F4957465F4F57425F5354445F424547494E
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String
index out of range: -1
at java.lang.String.substring(String.java:1085)
at
oracle.wh.runtime.workflowrt.QueueListener.parseParameters(QueueListener.java:10
03)
at oracle.wh.runtime.workflowrt.QueueListener.startJob(QueueListener.java:798)
at
oracle.wh.runtime.workflowrt.QueueListener.processJobs(QueueListener.java:746)
at
oracle.wh.runtime.workflowrt.QueueListener.initAndRun(QueueListener.java:299)
at oracle.wh.runtime.workflowrt.QueueListener.main(QueueListener.java:197)
1 -
Error while starting workflow from warning msg or error msg?
Hello experts,
I m tryin to start and workflow from error msg of ME21...whn we juss click enter without entering any value, it gives error as -" enter Purch org ". whose msg class - ME and msg num - 083.
thn from t-code SWUY,i creating and linked workflow for the msg.
Now while testing,when m goin to t-code ME21, and goin to the long text of tht error msg.....the button to start workflow is not getttin enabled. tht is still disable.
PLease tell r thr any other back ground settings to be done for this.
Regards
NitinHi,
Your workflow landed up in Error and you want to Restart it right.
Go to SWPR and check that workflow is there.
If found, select it and Restart it.
Regards,
Surjith -
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 -
How to create business operation for starting workflows
How to create business operation for starting workflows from worklist?
When I call methods that implements business operation from java class everything
works fine(wlpi-ejb.jar is required), but when I call business operation from
Studio I can't use classes from wlpi-ejb.jar.Business operation is called by WLIS. So, I include wlpi-ejb.jar into WLIS classpath.
Studio uses deployed EJB from wlpi-*.jar, I don't know why Studio doesn't see
methods from deployed EJBs when WLIS classpath contains wlpi-ejb.jar.
"Andrew Pitonyak" <[email protected]> wrote:
>
When studio starts, what is your classpath? If you use the included batch
file to start it, then your class path may not include this :-)
Andrew
"Raul" <[email protected]> wrote in message
news:[email protected]..
How to create business operation for starting workflows from worklist?
When I call methods that implements business operation from java classeverything
works fine(wlpi-ejb.jar is required), but when I call business operationfrom
Studio I can't use classes from wlpi-ejb.jar. -
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 -
Starting workflow from messages
Hi,
I am trying out the possibility of starting workflows when a message is raised (Error/Warning). Once i create the message to workflow linkage i am able to start the workflow from the message long text.
In this scenario is there a way to start the workflow automatically whenever that particular error message occurs?
For example consider transaction PA30. Now if i try to enter a character value in place of personnel number i get an error message "Enter a Numeric Value". Now once i link the workflow to the message i am able to start the workflow manually. But can this be done automatically on the occurence of this message?
Thanks,
Prasath NHi Karun,
Thanks for your response. I have done this already and it is workfing fine when i start the workflow manually. I would like to know if there is an option to start the workflow <b>automatically (without pressing the workflow button)</b> when the message is raised.
Thanks,
Prasath N -
Start workflow in code - access denied
Im trying to start list workflow (sp 2013) from MVC app.
the mvc app (win auth enabled) is running by a user that is site owner.
i always get ASP.NET access denied
var workflowServiceManager = new WorkflowServicesManager(web);
var workflowSubscriptionService = workflowServiceManager.GetWorkflowSubscriptionService();
SPList oList = web.Lists["Employee"];
SPListItem item = oList.GetItemById(557);
//access denied on this line
var subscriptions = workflowSubscriptionService.EnumerateSubscriptionsByList(oList.ID);
thanksHi
Earlier I was putting the button (link) in the wrong place now that its in the dataform webpart @ID works !
This link now will jump to the workflows page, the problem is that I have two workflows so the user may start the wrong workflow. Then I tried to link to the initiation page instead but this is where the error occurs.
This is the workflow page link (Copied from browser url)
http://sp20104/HitsMissesApp/_layouts/Workflow.aspx?ID={@ID}&List=deff1c34-4aec-43ad-b1e8-00444d3ab674&Source=http%3A%2F%2Fsp20104%2FHitsMissesApp%2FLists%2FHitsandMisses%2FAllItems%2Easpx
This is the initiation page link, has a few more parameters. (Copied from browser url and used static ID for test)
http://sp20104/HitsMissesApp/_layouts/IniWrkflIP.aspx?List={deff1c34-4aec-43ad-b1e8-00444d3ab674}&ID=6&TemplateID={8f72c2a0-7ec7-44ac-9bb7-c0a527a6b91a}&Source=http%3A%2F%2Fsp20104%2FHitsMissesApp%2FLists%2FHitsandMisses%2FAllItems%2Easpx
When I enter the intitation link in SPD, SPD error with 'Error HRESULT E_FAIL has been returned from a call to a COM component.' and then crashes.
So I can only link to the workflows page not the inititaion page. Perhaps the IniWrkflIP.aspx can only be called from a select page or something?
Code for insering asp link:
<asp:LinkButton runat="server" id="LinkButton1" PostBackUrl="http://sp20104/HitsMissesApp/_layouts/Workflow.aspx?ID={@ID}&List=deff1c34-4aec-43ad-b1e8-00444d3ab674&Source=http%3A%2F%2Fsp20104%2FHitsMissesApp%2FLists%2FHitsandMisses%2FAllItems%2Easpx">Start Workflow Feedback</asp:LinkButton>
Alternatively, the button/link could simply start the workflow as I dont require the initiation page. Dont know if this is any easier though.
Any assistance welcome on this .
Thanks -
SWI2_DIAG- Workflow error
Hi.
I have few errors in transaction SWI2_DIAG.
It says, Item-Based Approval 1111.
When i double click on that then the error says "Mised Deadline: Approve SC 111 from user could not be sent".
I went to EBP to see the Approval status of the shopping cart, it says "No workflow started, Application error occured".
What could be the problem and why this might happend, any clue how can i trouble shoot this to understand more information about this behaviour. This is not just one i have few more shopping carts .
Many thanks.
erpMANHi
Please check the approver list, whether the container determine the apporver or not. if determined then for the user and the necessary things set in the system or not. If then the mail of the approver is not set and chenck the acct assing in the system.
BR
Satish -
Hi,
My friend asked me to post this question in his name here.
He wants to create a simple workflow in PM. After user creation of the equipment in IE01 workflow need to be started and give the task for asset number creation to the next user.
Do you have any manuals like "workflow for dummies" )?
BR
Saso
PHi
Workflow automates the steps and activities in a business process according to predefined procedures and rules.
Workflow presents information and documents to the appropriate knowledge worker or agent (another entity such as a program) to make a decision or perform an activity.
Workflow tracks each and every step in the process flow and maintains an ongoing status.
Workflow also collects and reports all of the metrics associated with the execution and completion of the process.
Check the below links u will get lot of info..
http://www.sap-press.com/product.cfm?account=&product=H950
Workflow
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
For examples on WorkFlow...check the below link..
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
Go through the following links on FORK :
http://help.sap.com/saphelp_nw04/helpdata/en/24/e2283f2bbad036e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/8d/25f1e7454311d189430000e829fbbd/frameset.htm
http://help.sap.com/saphelp_46c/helpdata/en/c5/e4a930453d11d189430000e829fbbd/content.htm
http://www.insightcp.com/res_23.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
For more reference on workflow: http://****************/Tutorials/Workflow/Workflow.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/04/9277a346f311d189470000e829fbbd/frameset.htm
Check these links.
http://www.sapgenie.com/workflow/index.htm
/people/ginger.gatling/blog/2005/12/01/link-workflow-business-objects-to-your-collaboration-tasks
http://help.sap.com/saphelp_nw04/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/content.htm
http://help.sap.com/saphelp_bw33/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/content.htm
http://help.sap.com/saphelp_bw31/helpdata/en/8d/25f94b454311d189430000e829fbbd/content.htm
http://www.sap-press.com/product.cfm?account=&product=H950
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
Workflow
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
For examples on WorkFlow...check the below link..
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
For examples on WorkFlow...check the below link..
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
Workflow tutorials with step-by-step and with screenshots are available at http://www.****************/Tutorials/Workflow/Workflow.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/42/c14a9b55103116e10000000a1553f7/frameset.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/e4a930453d11d189430000e829fbbd/frameset.htm
http://www.sapgenie.com/workflow/
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2857887
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2855919
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2735228
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
Debug a workflow.
This has a step by step procedure :
http://fuller.mit.edu/workflow/debugging.pdf
www.erpgenie.com/sap/workflow/debugging.htm
http://www.erpgenie.com/workflow/debugging.htm?2b5de440
Workflow tutorials with step-by-step and with screenshots are available at
http://www.****************/Tutorials/Workflow/Workflow.htm
http://www.sapgenie.com/workflow/
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2857887
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2855919
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2735228
http://www.sapbrain.com/TUTORIALS/TECHNICAL/WORKFLOW_tutorial.html
Regarding Work Flow
work flow scenarios.
1. applying for a leave.
2. approval process.
3. material creation process.
4. mainly work flow is for notification purpose.
chk this links
http://help.sap.com/saphelp_erp2005/helpdata/en/fb/135962457311d189440000e829fbbd/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/c5/e4a930453d11d189430000e829fbbd/frameset.htm
Workflow
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
For examples on WorkFlow...check the below link..
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
http://www.erpgenie.com/workflow/index.htm
http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
http://www.insightcp.com/res_23.htm
A good tutorial
http://www.thespot4sap.com/articles/Invoice_Verification_Automation_Using_SAP_Workflow.asp
http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
/people/alan.rickayzen/blog
/people/jocelyn.dart/blog/2006/06/19/why-use-abap-oo-with-workflow
a good book
http://www.sap-press.com/product.cfm?account=&product=H950
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.sap-press.com/downloads/h950_preview.pdf
Check the following PDF
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
also seach the workflow forum: SAP Business Workflow
Transactions
AWUV Wizard for event creation Definition tools -> Event creation -> Set up with wizard
MCA1 Workflow Information System Reporting -> Workflow Information System (WIS)
OOAW Evaluation paths
PFAC Maintain standard roles
PFAC_CHG Change roles Definition tools -> Standard roles -> Change
PFAC_DEL Delete roles Definition tools -> Standard roles -> Delete
PFAC_DIS Display roles Definition tools -> Standard roles -> Display
PFAC_INS Create roles Definition tools -> Standard roles -> Create
PFOM Maintain assignment to SAP organizational objects Definition tools -> SAP org. objects -> Create assignments
PFOS Display assignment to SAP organizational objects Definition tools -> SAP org. objects -> Display assignments
PFSO Organizational environment of a user
PFT Maintain customer task
PFTC General task maintenance
PFTC_CHG Change tasks Definition tools -> Task/Task groups -> Change
PFTC_COP Copy tasks Definition tools -> Task/Task groups -> Copy
PFTC_DEL Delete tasks Definition tools -> Task/Task groups -> Delete
PFTC_DIS Display tasks Definition tools -> Task/Task groups -> Display
PFTC_INS Create tasks Definition tools -> Task/Task groups -> Create
PFTR Standard task for transaction
PFTS Standard task
PFWF Maintain workflow task (customer)
PFWS Maintain workflow template
PPOC Create organizational plan Definition tools -> Organizational plan -> Create
PPOM Maintain organizational plan Definition tools -> Organizational plan -> Change
PPOS Display organizational plan Definition tools -> Organizational plan -> Display
SWDA Ongoing Settings Administration -> Settings
SWDC Workflow editor administration data
SWDM Business Workflow Explorer Definition tools -> Business Workflow Explorer
SWE2 Display and maintain event type linkage Utilities -> Events -> Type linkages
SWE3 Display instance linkages Utilities -> Events -> Instance linkages
SWE4 Switch event log on/off Utilities -> Events -> Event/log -> On/Off
SWEC Link change documents to events Definition tools -> Event creation -> Change documents -> Linkage
SWED Assignment of change document objects to object types Definition tools -> Event creation -> Change documents -> Define workflow properties
SWEL Display event log Utilities -> Events -> Event log -> Display
SWF3 Workflow Wizard Explorer Definition tools -> Wizards -> Workflow Wizard Explorer
SWF4 Workflow Wizard Repository Definition tools -> Wizards -> Workflow Wizard Repository
SWI1 Selection report for workflows Utilities -> Work item selection
SWI2 Work item analysis Reporting -> Work item analysis
SWI3 Workflow outbox Runtime tools -> Workflow outbox
SWI4 Task analysis Reporting -> Task analysis
SWI5 Workload analysis Reporting -> Workload analysis
SWI6 Object links Runtime tools -> Object links
SWI7 Workflow resubmission folder From Integrated Inbox or Workflow Outbox
SWI8 Error overview Part of administration of workflow runtime system (transaction SWUF)
SWL1 Settings for dynamic columns Customizing, part of ongoing settings
SWLC Check tasks for agents Utilities -> Consistency check -> Organizational assignment
SWLD Workbench for Workflow 4.0
SWLP Copy plan version
SWLV Maintain work item views Customizing, part of ongoing settingS
SWLW Workbench for Workflow 3.0
SW01 Business Object Builder Definition tools -> Business Object Builder
SW06 Customizing object types From Business Object Builder, choose Settings -> Delegate -> System-wide
SWU0 Event simulation Utilities -> Events -> Simulate event
SWU2 RFC monitor Utilities -> Workflow RFC monitor
SWU3 Customizing consistency check Utilities -> Customizing
SWU4 Consistency check for standard tasks Utilities -> Consistency check -> Task -> Standard task
SWU5 Consistency check for customer tasks Utilities -> Consistency check -> Task -> Customer task
SWU6 Consistency check for workflow tasks Utilities -> Consistency check -> Task -> Workflow task
SWU7 Consistency check for workflow templates Utilities -> Consistency check -> Task -> Workflow template
SWU8 Switch technical trace on/off Utilities -> Technical trace -> On/off
SWU9 Display technical trace Utilities -> Technical trace -> Display
SWUD Diagnostic tools Utilities -> Diagnosis
SWUE Trigger event Utilities -> Events -> Generate event
SWUF Runtime system administration Administration -> Runtime system
SWUG Workflow start transactions Definition tools -> Workflow start transactions
SWUI Start workflows From the R/3 initial screen, choose Office -> Start Workflow
SWUS Start tasks Runtime tools -> Start workflow
SWUY Wizard for message linkage to workflow Definition tools -> Wizards -> Create "Call workflow from message"
SWX1 Create notification of absence
SWX2 Change notification of absence
SWX3 Display notification of absence
SWX4 Approve notification of absence
SWXF Form applications: Access point Environment -> Demo examples -> Fill out form
Reports
RSWWWIDE Delete work items
RHSOBJCH to fix PD Control Tables
Tables
SWW_OUTBOX - Lists Workflows in outbox together with status
SWW_CONT - Container Contents for Work Item Data Container
SWW_CONTOB- Container Cont. for Work Item Data Container (Only Objects)
SWWLOGHIST- History of a work item
SWWORGTASK- Assignment of WIs to Org.Units and Tasks
SWWUSERWI - Current Work Items Assigned to a User
SWWWIHEAD - Header Table for all Work Item Types
Regards
Anji -
Start workflow using javascript
function AfterSave() {
alert("in");
var scriptbase = _spPageContextInfo.webAbsoluteUrl + "/_layouts/15/";
$.getScript(scriptbase + "SP.js", function () {
$.getScript(scriptbase + "SP.Runtime.js", function () {
$.getScript(scriptbase + "SP.WorkflowServices.js", function () {
var itemId=5;
var subscriptionId = '{8891EB88-D7F6-495B-A420-877E74754522}';
var clientContext = SP.ClientContext.get_current();
var web = clientContext.get_web();
clientContext.load(web);
var wfManager = SP.WorkflowServices.WorkflowServicesManager.newObject(clientContext, clientContext.get_web());
clientContext.load(wfManager);
alert("in2");
var subscription = wfManager.getWorkflowSubscriptionService().getSubscription(subscriptionId);
clientContext.load(subscription);
alert("in3");
clientContext.executeQueryAsync(
function(sender, args){
alert("Subscription load success. Attempting to start workflow.");
var inputParameters;
wfManager.getWorkflowInstanceService().startWorkflowOnListItem(subscription, itemId, inputParameters);
clientContext.executeQueryAsync(
function(sender, args){ alert("Successfully starting workflow."); },
function(sender, args){
alert("Failed to start workflow.");
alert("Error: " + args.get_message() + "\n" + args.get_stackTrace());
function(sender,args){
alert("Failed to load subscription.");
alert("Error: " + args.get_message() + "\n" + args.get_stackTrace());
function closeInProgressDialog() {
if (dlg != null) {
dlg.close();
function showInProgressDialog() {
if (dlg == null) {
dlg = SP.UI.ModalDialog.showWaitScreenWithNoClose("Please wait...", "Waiting for workflow...", null, null);
hi friends
i am using above code to start workflow
there is no error in code but it is not starting.
please help me to figure out my problemHi,
You can't start workflow in Javascript object model in SP 2010
http://social.technet.microsoft.com/Forums/sharepoint/en-US/84659489-eba7-4a41-a137-820b01d4bc69/start-a-sharepoint-2010-workflow-using-javascript?forum=sharepointgeneralprevious
Please remember to click 'Mark as Answer' on the answer if it helps you -
Exception starting workflow while creating new project
We created a new SharePoint Designer based workflow and published it to Project Online.
Later we created new EPT and associated the above mentioned workflow to it.
Now whenever we tried creating a new project based on this EPT, it fails with an error as mentioned below:
"Your new EPT has been created successfully, but failed to publish and will not be listed in the Project Error".
Looking at the queue jobs, I see below errors. Does anyone how to solve this issue?
General
Exception Starting Workflow: Workflow _c78ab50f-a884-47d0-98bb-a9e6e5eab058_, for scope _/spo/b2645c43-2431-4498-aa01-367736a9461e/822d4328-2ebd-41fd-b9df-51a1cc138781/88697637-7217-40cc-b4db-be9e0cf8582e_, was not found. HTTP headers received from
the server - ActivityId: 959408f6-002a-4b62-8368-997e74f55174. NodeId: . Scope: . Client ActivityId : d84a129c-99cc-6054-2a55-5ec692cb26fe.. Trace: at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) at Microsoft.Workflow.Client.WorkflowManager.StartInternal(String
workflowName, WorkflowStartParameters startParameters) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.StartInstance(String serviceGroupName, String workflowName, String monitoringParam, String activationKey, IDictionary`2 payload)
at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.StartWorkflow(WorkflowSubscription subscription, IDictionary`2 payload) at Microsoft.Office.Project.Server.BusinessLayer.Workflow.StartWorkflow(Guid projectGuid, Guid enterpriseProjectTypeUid,
Boolean isNewProject, Guid previousEntepriseProjectTypeUid, Boolean skipStage, Guid stageToSkipTo):
WorkflowExceptionStartingWorkflow (35115). Details: id='35115' name='WorkflowExceptionStartingWorkflow' uid='925896db-84a6-e211-915a-00155d855c0e'.
Error:
WorkflowCannotStartWorkflow (35100). Details: id='35100' name='WorkflowCannotStartWorkflow' uid='935896db-84a6-e211-915a-00155d855c0e'.
Queue:
GeneralQueueJobFailed (26000) - WorkflowStartWorkflow.WorkflowStartWorkflowMessage. Details: id='26000' name='GeneralQueueJobFailed'
uid='945896db-84a6-e211-915a-00155d855c0e' JobUID='9f1a80d7-84a6-e211-9b9d-00155d85170c' ComputerName='b5274f0d-31e4-406a-9540-8bc9ee3f62f1' GroupType='WorkflowStartWorkflow' MessageType='WorkflowStartWorkflowMessage' MessageId='1' Stage='' CorrelationUID='d84a129c-99cc-6054-2a55-5ec692cb26fe'.
For more details, check the ULS logs on machine b5274f0d-31e4-406a-9540-8bc9ee3f62f1 for entries with JobUID 9f1a80d7-84a6-e211-9b9d-00155d85170c.
<input accesskey="c" id="CancelButton" style="padding:7px 10px;border:1px solid rgb(171, 171, 171);color:#444444;font-family:'Segoe UI', Segoe, Tahoma, Helvetica, Arial, sans-serif;font-size:11px;margin-left:10px;vertical-align:middle;min-width:6em;background-color:#fdfdfd;"
type="button" value="Close" />Has there been any update on this? Since today I have it too. I was able to create projects with simple workflows yesterday, but not today?
I get this:
General
Exception Starting Workflow: Workflow _ee038ab6-e3e1-4103-9c9f-eb1e34051e03_, for scope _/spo/68c4496a-d2a8-44af-9ff1-cbe0128a80a2/9c9ff6c2-baac-4268-9698-15f0e991bd2a/82440e58-df26-4089-ade6-6f1bc4644c3b_, was not found. HTTP headers received from
the server - ActivityId: 07317e81-c57d-4eb2-888c-0d17451a35f9. NodeId: . Scope: . Client ActivityId : 08a8209c-7064-f0ac-d588-023a72c8ddd0.. Trace: at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)
at Microsoft.Workflow.Client.WorkflowManager.StartInternal(String workflowName, WorkflowStartParameters startParameters) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.StartInstance(String serviceGroupName, String workflowName,
String monitoringParam, String activationKey, IDictionary`2 payload) at Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider.StartWorkflow(WorkflowSubscription subscription, IDictionary`2 payload) at Microsoft.Office.Project.Server.BusinessLayer.Workflow.StartWorkflow(Guid
projectGuid, Guid enterpriseProjectTypeUid, Boolean isNewProject, Guid previousEntepriseProjectTypeUid, Boolean skipStage, Guid stageToSkipTo):
WorkflowExceptionStartingWorkflow (35115). Details: id='35115' name='WorkflowExceptionStartingWorkflow' uid='6a415759-96c9-e211-8076-00155d987b12'.
Error:
WorkflowCannotStartWorkflow (35100). Details: id='35100' name='WorkflowCannotStartWorkflow' uid='6b415759-96c9-e211-8076-00155d987b12'.
Queue:
GeneralQueueJobFailed (26000) - WorkflowStartWorkflow.WorkflowStartWorkflowMessage. Details: id='26000' name='GeneralQueueJobFailed' uid='6c415759-96c9-e211-8076-00155d987b12' JobUID='b2af9253-96c9-e211-b137-00155d987314'
ComputerName='09c6345c-04e8-4611-9fe7-b45e66936f28' GroupType='WorkflowStartWorkflow' MessageType='WorkflowStartWorkflowMessage' MessageId='1' Stage='' CorrelationUID='08a8209c-7064-f0ac-d588-023a72c8ddd0'. For more details, check the ULS logs on machine
09c6345c-04e8-4611-9fe7-b45e66936f28 for entries with JobUID
b2af9253-96c9-e211-b137-00155d987314.
<input accesskey="o" id="ctl00_ctl00_PlaceHolderMain_idOkButton" name="ctl00$ctl00$PlaceHolderMain$idOkButton" style="display:none;" type="button" value="OK" />
<input accesskey="c" id="CancelButton" type="button" value="Close" /> -
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] -
Unable to start Workflow Notification Mailer
Hi
we are using oracle11i(11.5.10.2) with Database version 10.2.0.3 .
i am unable to start Workflow Notification Mailer. please verify below log information.
13/05/2009 AST 10:34:23 طµ]:1242200063297:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:UNEXPECTED:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.wf.mailer.SMTPOutboundProcessor.initOutbound()]:FormatterException -> oracle.apps.fnd.wf.mailer.FormatterException: NoRouteToHostException when initializing OutboundFormatter -> java.net.NoRouteToHostException: Unable to estabish Web Session -> Unable to verify established session -> verifySession -> WebAppsContext is null
[13/05/2009 AST 10:34:23 طµ]:1242200063297:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:ERROR:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.cp.gsc.Processor.run()]:performInit() failed
[13/05/2009 AST 10:34:23 طµ]:1242200063297:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:ERROR:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.cp.gsc.Processor.performError(ProcessorException)]:Maximum number of errors have occurred for this processing thread.
[13/05/2009 AST 10:35:06 طµ]:1242200106875:Thread[ComponentMonitor,5,main]:0:-1:appsbkp:10.6.1.51:-1:-1:EXCEPTION:[SVC-GSM-WFMLRSVC-17109 : oracle.apps.fnd.cp.gsc.SvcComponentMonitor.startAutomaticComponents()]:Starting automatic component 10006
[13/05/2009 AST 10:35:11 طµ]:1242200111125:Thread[BES Dispatch Thread,5,main]:0:-1:appsbkp:10.6.1.51:-1:-1:EXCEPTION:[SVC-GSM-WFMLRSVC-17109 : oracle.apps.fnd.cp.gsc.SvcComponentContainer.onBusinessEvent(BusinessEvent)]:(BusinessEvent{name=oracle.apps.fnd.cp.gsc.SvcComponent.start, key=SVC:13-05-2009, priority=50, correlationId=null, sendDate=Wed May 13 10:35:07 AST 2009, receiveDate=null, From Agent: , To Agent: , Last Subscription= , Error Message=null, Error Stack=null, BES_PAYLOAD_OBJECT=false, CONTAINER_PROCESS_ID=17109, [email protected], CONTAINER_TYPE=GSM, COMPONENT_ID=10006})
[13/05/2009 AST 10:35:21 طµ]:1242200121125:Thread[BES Dispatch Thread,5,main]:0:-1:appsbkp:10.6.1.51:-1:-1:EXCEPTION:[SVC-GSM-WFMLRSVC-17109 : oracle.apps.fnd.cp.gsc.SvcComponentContainer.handleComponentEvent(int, String, String)]:Successfully retrieved component details from the database
[13/05/2009 AST 10:35:23 طµ]:1242200123312:Thread[BES Dispatch Thread,5,main]:0:-1:appsbkp:10.6.1.51:-1:-1:EXCEPTION:[SVC-GSM-WFMLRSVC-17109 : oracle.apps.fnd.cp.gsc.SvcComponentContainer.onBusinessEvent(BusinessEvent)]:Successfully handled component event, oracle.apps.fnd.cp.gsc.SvcComponent.start, for component 10006
[13/05/2009 AST 10:35:23 طµ]:1242200123344:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:UNEXPECTED:[fnd.wf.mailer.URLMIMEContent]:oracle.apps.fnd.wf.common.GenericHTMLContentParser.GenericHTMLContentParser(Log, int, int, int) Unable to establish a WebSession
[13/05/2009 AST 10:35:23 طµ]:1242200123344:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:UNEXPECTED:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.wf.mailer.NotificationFormatter.initialize(Connection, NLSContext, Logger, Properties)]:NoRouteToHostException when initializing OutboundFormatter
[13/05/2009 AST 10:35:23 طµ]:1242200123344:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:UNEXPECTED:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.wf.mailer.SMTPOutboundProcessor.initOutbound()]:FormatterException -> oracle.apps.fnd.wf.mailer.FormatterException: NoRouteToHostException when initializing OutboundFormatter -> java.net.NoRouteToHostException: Unable to estabish Web Session -> Unable to verify established session -> verifySession -> WebAppsContext is null
[13/05/2009 AST 10:35:23 طµ]:1242200123344:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:ERROR:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.cp.gsc.Processor.run()]:performInit() failed
[13/05/2009 AST 10:35:23 طµ]:1242200123344:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:ERROR:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.cp.gsc.Processor.performError(ProcessorException)]:Maximum number of errors have occurred for this processing thread.
[13/05/2009 AST 10:36:06 طµ]:1242200166891:Thread[ComponentMonitor,5,main]:0:-1:appsbkp:10.6.1.51:-1:-1:EXCEPTION:[SVC-GSM-WFMLRSVC-17109 : oracle.apps.fnd.cp.gsc.SvcComponentMonitor.startAutomaticComponents()]:Starting automatic component 10006
[13/05/2009 AST 10:36:11 طµ]:1242200171125:Thread[BES Dispatch Thread,5,main]:0:-1:appsbkp:10.6.1.51:-1:-1:EXCEPTION:[SVC-GSM-WFMLRSVC-17109 : oracle.apps.fnd.cp.gsc.SvcComponentContainer.onBusinessEvent(BusinessEvent)]:(BusinessEvent{name=oracle.apps.fnd.cp.gsc.SvcComponent.start, key=SVC:13-05-2009, priority=50, correlationId=null, sendDate=Wed May 13 10:36:07 AST 2009, receiveDate=null, From Agent: , To Agent: , Last Subscription= , Error Message=null, Error Stack=null, BES_PAYLOAD_OBJECT=false, CONTAINER_PROCESS_ID=17109, [email protected], CONTAINER_TYPE=GSM, COMPONENT_ID=10006})
[13/05/2009 AST 10:36:21 طµ]:1242200181125:Thread[BES Dispatch Thread,5,main]:0:-1:appsbkp:10.6.1.51:-1:-1:EXCEPTION:[SVC-GSM-WFMLRSVC-17109 : oracle.apps.fnd.cp.gsc.SvcComponentContainer.handleComponentEvent(int, String, String)]:Successfully retrieved component details from the database
[13/05/2009 AST 10:36:23 طµ]:1242200183391:Thread[BES Dispatch Thread,5,main]:0:-1:appsbkp:10.6.1.51:-1:-1:EXCEPTION:[SVC-GSM-WFMLRSVC-17109 : oracle.apps.fnd.cp.gsc.SvcComponentContainer.onBusinessEvent(BusinessEvent)]:Successfully handled component event, oracle.apps.fnd.cp.gsc.SvcComponent.start, for component 10006
[13/05/2009 AST 10:36:23 طµ]:1242200183422:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:UNEXPECTED:[fnd.wf.mailer.URLMIMEContent]:oracle.apps.fnd.wf.common.GenericHTMLContentParser.GenericHTMLContentParser(Log, int, int, int) Unable to establish a WebSession
[13/05/2009 AST 10:36:23 طµ]:1242200183422:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:UNEXPECTED:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.wf.mailer.NotificationFormatter.initialize(Connection, NLSContext, Logger, Properties)]:NoRouteToHostException when initializing OutboundFormatter
[13/05/2009 AST 10:36:23 طµ]:1242200183422:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:UNEXPECTED:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.wf.mailer.SMTPOutboundProcessor.initOutbound()]:FormatterException -> oracle.apps.fnd.wf.mailer.FormatterException: NoRouteToHostException when initializing OutboundFormatter -> java.net.NoRouteToHostException: Unable to estabish Web Session -> Unable to verify established session -> verifySession -> WebAppsContext is null
[13/05/2009 AST 10:36:23 طµ]:1242200183422:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:ERROR:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.cp.gsc.Processor.run()]:performInit() failed
[13/05/2009 AST 10:36:23 طµ]:1242200183422:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:ERROR:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.cp.gsc.Processor.performError(ProcessorException)]:Maximum number of errors have occurred for this processing thread.
[13/05/2009 AST 10:37:06 طµ]:1242200226891:Thread[ComponentMonitor,5,main]:0:-1:appsbkp:10.6.1.51:-1:-1:EXCEPTION:[SVC-GSM-WFMLRSVC-17109 : oracle.apps.fnd.cp.gsc.SvcComponentMonitor.startAutomaticComponents()]:Starting automatic component 10006
[13/05/2009 AST 10:37:11 طµ]:1242200231125:Thread[BES Dispatch Thread,5,main]:0:-1:appsbkp:10.6.1.51:-1:-1:EXCEPTION:[SVC-GSM-WFMLRSVC-17109 : oracle.apps.fnd.cp.gsc.SvcComponentContainer.onBusinessEvent(BusinessEvent)]:(BusinessEvent{name=oracle.apps.fnd.cp.gsc.SvcComponent.start, key=SVC:13-05-2009, priority=50, correlationId=null, sendDate=Wed May 13 10:37:07 AST 2009, receiveDate=null, From Agent: , To Agent: , Last Subscription= , Error Message=null, Error Stack=null, BES_PAYLOAD_OBJECT=false, CONTAINER_PROCESS_ID=17109, [email protected], CONTAINER_TYPE=GSM, COMPONENT_ID=10006})
[13/05/2009 AST 10:37:21 طµ]:1242200241125:Thread[BES Dispatch Thread,5,main]:0:-1:appsbkp:10.6.1.51:-1:-1:EXCEPTION:[SVC-GSM-WFMLRSVC-17109 : oracle.apps.fnd.cp.gsc.SvcComponentContainer.handleComponentEvent(int, String, String)]:Successfully retrieved component details from the database
[13/05/2009 AST 10:37:23 طµ]:1242200243375:Thread[BES Dispatch Thread,5,main]:0:-1:appsbkp:10.6.1.51:-1:-1:EXCEPTION:[SVC-GSM-WFMLRSVC-17109 : oracle.apps.fnd.cp.gsc.SvcComponentContainer.onBusinessEvent(BusinessEvent)]:Successfully handled component event, oracle.apps.fnd.cp.gsc.SvcComponent.start, for component 10006
[13/05/2009 AST 10:37:23 طµ]:1242200243391:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:UNEXPECTED:[fnd.wf.mailer.URLMIMEContent]:oracle.apps.fnd.wf.common.GenericHTMLContentParser.GenericHTMLContentParser(Log, int, int, int) Unable to establish a WebSession
[13/05/2009 AST 10:37:23 طµ]:1242200243391:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:UNEXPECTED:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.wf.mailer.NotificationFormatter.initialize(Connection, NLSContext, Logger, Properties)]:NoRouteToHostException when initializing OutboundFormatter
[13/05/2009 AST 10:37:23 طµ]:1242200243391:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:UNEXPECTED:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.wf.mailer.SMTPOutboundProcessor.initOutbound()]:FormatterException -> oracle.apps.fnd.wf.mailer.FormatterException: NoRouteToHostException when initializing OutboundFormatter -> java.net.NoRouteToHostException: Unable to estabish Web Session -> Unable to verify established session -> verifySession -> WebAppsContext is null
[13/05/2009 AST 10:37:23 طµ]:1242200243391:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:appsbkp:10.6.1.51:-1:-1:ERROR:[SVC-GSM-WFMLRSVC-17109-10006 : oracle.apps.fnd.cp.gsc.Processor.run()]:performInit() failed
[13/05/2009 AST 10:37:23 طµ]:1242200243391:Thread[outboundThreadGroup1,5,outboundThreadGroup
Thanks
With Regards
UmairHi Umair,
oracle.apps.fnd.wf.mailer.FormatterException: NoRouteToHostException when initializing OutboundFormatter -> java.net.NoRouteToHostException: Unable to estabish Web Session -> Unable to verify established session -> verifySession -> WebAppsContext is nullPlease check the connectivity with the mail server.
Anchorage :)
Maybe you are looking for
-
'Maintain serial numbers for total quantity error in bapi_goodsmvt_create
HI Experts, I am doing a goods movement programatically by using BAPI_GOODSMVT_CREATE. Though I am passing the serial no. for the document item still I am getting an error: 'Maintain serial numbers for total quantity'. My code goes like this: *-- Rea
-
Network Issues with Visual Studio Online Application Insgihts
My team is using Visual Studio Application Insights to monitor availability of our web server (we use cloud service)by making a call to it every 5 minutes from different locations around the world including Singapore, Japan, France and Switzerland. W
-
Is it possible to setup serial number format only accept 10 digits?
Hi, I am using TestStand 3.0. Is it possible to setup serial number format only accept 10 digits? Also I want to input part number before start test. How to do this? Thanks, Ben
-
My videos wont transfer please read and respond
I keep tryin to transfer videos in mpeg format and it says that i cant play it on my i pod. so does it need to be in a different format and if so how do i put it in the format?
-
Are RHEL packages downloaded in software update from RHN
We have RHEL 5 in our setup. I have 1 conceptual query with regard to software update from Red Hat Network (RHN), are the missing pages or updated packages downloaded in software update from RHN? Also, is a .repo file need to be created in /etc/yum.r