Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..

cancel
Showing results for 
Search instead for 
Did you mean: 
No ratings
Kb-Sync
Collaborator III

Applies To


Product(s): Archer
Version(s): All Versions
Primary Deployment: On Premises

Description


When attempting to enroll a record in Advanced Workflow of an application/questionnaire, the enrollment fails and the below error is thrown.
There was an error processing this record.    
Please contact your administrator and tell them this record could not go past the starting stage.

0EMVM000009U27H.png0EMVM000009U27H.png
Note: This behavior occurs with all applications/questionnaires in the instance.
The below errors are found in the AdvancedWorkflow logs:
<E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent"> 
	<System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system"> 
		<EventID>0</EventID> 
		<Type>3</Type> 
		<SubType Name="Error">0</SubType> 
		<Level>2</Level> 
		<TimeCreated SystemTime="2024-08-22T12:26:58.7342946Z" /> 
		<Source Name="Archer.NET" /> 
		<Correlation ActivityID="{00000000-0000-0000-0000-000000000000}" /> 
		<Execution ProcessName="WpServiceHost (ver 4.40.47.0)" ProcessID="2532" ThreadID="12120" /> 
		<AssemblyVersion>2.0.60.0</AssemblyVersion> 
		<Computer>Server Name</Computer> 
	</System> 
	<ApplicationData> 
		<TraceData> 
			<DataItem> 
				<TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord"> 
					<TraceIdentifier>Archer.NET</TraceIdentifier> 
					<Description>Unhandled exception occured: [Script: ProcessCompleteScript] [JobId: 3626:CUST] [ProcRef: a541df01ea354ca2] [CorrelationId: 3bf70a5b-a051-4202-adaf-d4edd01169e6]</Description> 
					<AppDomain>WpAppDomain~1</AppDomain> 
					<Exception> 
						<Message>
---------- Exception ----------
[Flurl.Http.FlurlHttpException]
Call failed. An error occurred while sending the request. POST https://<Archer URL>/Archer/api/core/security/login
   at Flurl.Http.FlurlRequest.<HandleExceptionAsync>d__23.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Flurl.Http.FlurlRequest.<SendAsync>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Flurl.Http.FlurlRequest.<SendAsync>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Flurl.Http.HttpResponseMessageExtensions.<ReceiveJson>d__0`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Archer.WorkflowService.Scripts.Services.Authentication.AuthenticationService.<>c__DisplayClass4_0.<<LoginAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Archer.WorkflowService.HttpClient.HttpClient.PollyHelper.<>c__DisplayClass5_0`1.<<PerformHttpRequestWithRetries>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Polly.Retry.AsyncRetryEngine.<ImplementationAsync>d__0`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Polly.AsyncPolicy.<ExecuteAsync>d__21`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Archer.WorkflowService.HttpClient.HttpClient.PollyHelper.<PerformHttpRequestWithRetries>d__5`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Archer.WorkflowService.Scripts.Services.Authentication.AuthenticationService.<LoginAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ArcherTech.Services.WorkflowService.Scripts.Infrastructure.AsyncHelper.RunSync[TResult](Func`1 func)
   at Archer.WorkflowService.Scripts.Services.Authentication.WorkflowAccountSessionAccessor.SessionContextAdministrator.CreateSession(IAuthenticationService authService, String instanceName, String userName, String password, String userDomain)
   at Archer.WorkflowService.Scripts.Services.Authentication.WorkflowAccountSessionAccessor.SessionContextAdministrator.GetSessionContext(IAuthenticationService authService, String instanceName, String userName, GetPassword getPasswordDelegate, String userDomain)
   at Archer.WorkflowService.Scripts.Services.Authentication.WorkflowAccountSessionAccessor.GetSessionToken()
   at Archer.WorkflowService.HttpClient.HttpClient.FlurlExtensions.OnBeforeHttpRequestCall(HttpCall call, ISessionTokenAccessor sessionContextAccessor)
   at Flurl.Http.FlurlRequest.HandleEventAsync(Action`1 syncHandler, Func`2 asyncHandler, HttpCall call)
   at Flurl.Http.FlurlRequest.<SendAsync>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Archer.WorkflowService.Scripts.Services.Workflow.WorkflowJobService.<>c__DisplayClass5_0.<<ChangeWorkflowStatusAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Archer.WorkflowService.HttpClient.HttpClient.PollyHelper.<>c__DisplayClass5_0`1.<<PerformHttpRequestWithRetries>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Polly.Retry.AsyncRetryEngine.<ImplementationAsync>d__0`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Polly.AsyncPolicy.<ExecuteAsync>d__21`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Archer.WorkflowService.HttpClient.HttpClient.PollyHelper.<PerformHttpRequestWithRetries>d__5`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Archer.WorkflowService.Scripts.Services.Workflow.WorkflowJobService.<ChangeWorkflowStatusAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ArcherTech.Services.WorkflowService.Scripts.Infrastructure.AsyncHelper.RunSync(Func`1 func)
   at ArcherTech.Services.WorkflowService.Scripts.ProcessCompleteScript.Execute(ScriptContext scriptContext)
   at ArcherTech.Services.WorkflowService.Scripts.ScriptController.Run[T](IWorkpointScript workpointScript)
---------- Inner Exception 1 ----------
[System.Net.Http.HttpRequestException]
An error occurred while sending the request.
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Flurl.Http.FlurlRequest.<SendAsync>d__19.MoveNext()
---------- Inner Exception 2 ----------
[System.Net.WebException]
The remote name could not be resolved: '<Archer URL>'
   at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
   at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)</Message> 
					</Exception> 
				</TraceRecord> 
			</DataItem> 
		</TraceData> 
	</ApplicationData> 
</E2ETraceEvent>

Cause


The Base URL, under Instance settings in the Archer Control Panel, was misconfigured where an incorrect URL was used.

Resolution


Configure the Base URL correctly. Follow the steps below:
1. Log onto an Archer server.
2. Open the Archer Control Panel.
3. In the left pane, double-click on the Instance name to open the Instance settings.
4. Under the Instance settings, go to the Web tab.
5. Under the Web section, update the Base URL (and Instance URL, if used) with the correct URL.
6. Click on Save or Save All in the top left to save the new URL(s).
7. Restart the Archer Workflow Service on all servers where it is running.
8. The records should now enroll successfully.
Note: There may be a need to re-enroll the errored records.

Version history
Last update:
‎2024-10-01 10:12 AM
Updated by: