I have a dialog workflow that for the most part works fine. Except for one part. At the start of the workflow I need to query for all tasks in a given folder. Currently there are only two items. However 9 times out of ten when the workflow gets to this step it imediately kicks out a time out error as seen below.
ExceptionComponentClassName = "Altiris7.WebServices.Item.GetItemsInFolderComponent"
ExceptionComponentName = "Get Image Jobs"
ExceptionTriggerComponentID = "88997dc6-c240-4e48-bff3-01b482f23df5"
ExceptionTriggerExceptionClassName = "System.Net.WebException"
ExceptionTriggerMessage = "The operation has timed out"
ExceptionTriggerStackTrace = "System.Net.WebException: The operation has timed out
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Altiris7.WebServices.Item.ItemManagementService.GetItemsInFolder(Guid folderGuid)
at Altiris7.WebServices.Item.GetItemsInFolderComponent.Run(IData data)
at LogicBase.Core.ExecutionEngine.SinglePathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context)
at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.RunComponent(TLExecutionContext context, IData data, IOrchestrationComponent comp)"
Why is this happening? Network connectivity is fine. Sometime the NS console maybe slow but it's not timing out.