You are viewing limited content. For full access, please sign in.

Question

Question

Problem Passing a token from form to workflow

asked on October 5, 2023

Please see attached for more details

0 0

Answer

APPROVED ANSWER
replied on October 11, 2023

It has been determined that the problem was the "Use TLS" option enabled in FormsConfig for the WF connection, which in this internal Test environment would not work due to no SSL certs being setup. 

1 0

Replies

replied on October 5, 2023

The error says that the Workflow Database is not configured. It looks like Forms can't see that workflow to run it. 

1 0
replied on October 5, 2023

Hi, I have everything configured correctly, as other WF's are running.

 

Do I need to setup the workflow anywhere else to be found?

0 0
replied on October 5, 2023

Jennifer is correct about the error, but, assuming you are connecting the Designer to the same Workflow Server used in Forms, the error is not related to Forms. There should be a more detailed error in the Forms event log.

0 0
replied on October 5, 2023

Timestamp: 2023-10-05 14:11:34.423

Local Time: 05/10/2023 15:11:34

Category: Errors

Machine: xxxxxxxx

Severity: Error

Application Domain: Laserfiche.Workflow.Subscriber.exe

Process Id: 11464

Process Name: C:\Program Files\Laserfiche\Workflow\Laserfiche.Workflow.Subscriber.exe

Win32 Thread Id: 15656 - 

Thread Name: 

Message: <Exception handlingInstanceId="139a2172-56af-46b0-83c0-ed3e289cc18c">
  <Description>An exception of type 'Laserfiche.Workflow.WFSOException' occurred and was caught.</Description>
  <DateTime>2023-10-05 15:11:34Z</DateTime>
  <ExceptionType>Laserfiche.Workflow.WFSOException, Laserfiche.Workflow.ServerObjects, Version=8.3.0.0, Culture=neutral, PublicKeyToken=d8428ff9263e6cda</ExceptionType>
  <Message>An error occurred communicating with the workflow server. View error log for more details. [0604-WFSO0]</Message>
  <Source>Laserfiche.Workflow.Subscriber</Source>
  <HelpLink />
  <Property name="Trace" />
  <Property name="IsCommunicationError">True</Property>
  <Property name="ServerExceptionType" />
  <Property name="ServerError">True</Property>
  <Property name="TargetSite">Void UpdateRules(Laserfiche.Workflow.Subscriber.Runtime.Threads.StartingRuleManagerThread)</Property>
  <Property name="HResult">-2146233088</Property>
  <StackTrace>Client trace
   at Laserfiche.Workflow.Subscriber.Runtime.Threads.StartingRuleManagerThread.UpdateRules(StartingRuleManagerThread thread)
   at Laserfiche.Workflow.Subscriber.Runtime.Threads.StartingRuleManagerThread.RefreshRules(Object state)
</StackTrace>
  <additionalInfo>
    <info name="MachineName" value="xxxxxxxxxx" />
    <info name="TimeStamp" value="05/10/2023 14:11:34" />
    <info name="FullName" value="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    <info name="AppDomainName" value="Laserfiche.Workflow.Subscriber.exe" />
    <info name="ThreadIdentity" value="" />
    <info name="WindowsIdentity" value="EQUIOM\SVC_laserfischePRD" />
  </additionalInfo>
  <InnerException>
    <ExceptionType>System.ServiceModel.CommunicationObjectFaultedException, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
    <Message>The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.</Message>
    <Source>mscorlib</Source>
    <HelpLink />
    <Property name="TargetSite">Void HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage)</Property>
    <Property name="HResult">-2146233087</Property>
    <StackTrace>
Server stack trace: 
   at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposedOrNotOpen()
   at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
   at Laserfiche.Workflow.IWorkflowServerApi.TransferDataFromServer(ItemData itemData)
   at Laserfiche.Workflow.Internal.WorkflowServerClient.TransferDataFromServer(ItemData itemData)</StackTrace>
  </InnerException>
</Exception>

0 0
replied on October 5, 2023

Timestamp: 2023-10-05 14:11:34.157

Local Time: 05/10/2023 15:11:34

Category: Errors

Machine: xxxxxx

Severity: Error

Application Domain: Laserfiche.Workflow.Subscriber.exe

Process Id: 11464

Process Name: C:\Program Files\Laserfiche\Workflow\Laserfiche.Workflow.Subscriber.exe

Win32 Thread Id: 13468 - Stats thread

Thread Name: Stats thread

Message: <Exception handlingInstanceId="fc3cae11-39f4-48e3-bf53-ba658f0fab18">
  <Description>An exception of type 'Laserfiche.Workflow.WorkflowServerNotFoundException' occurred and was caught.</Description>
  <DateTime>2023-10-05 15:11:34Z</DateTime>
  <ExceptionType>Laserfiche.Workflow.WorkflowServerNotFoundException, Laserfiche.Workflow.ServerObjects, Version=8.3.0.0, Culture=neutral, PublicKeyToken=d8428ff9263e6cda</ExceptionType>
  <Message>Connection to the Workflow Server 'xxxxxxxx.equiom.lan' could not be created.</Message>
  <Source>Laserfiche.Workflow.ServerObjects</Source>
  <HelpLink />
  <Property name="Server">xxxxxxxxx.equiom.lan</Property>
  <Property name="Trace" />
  <Property name="IsCommunicationError">True</Property>
  <Property name="ServerExceptionType" />
  <Property name="TargetSite">Laserfiche.Workflow.Connection.OperationResult ExecuteCommand(Laserfiche.Workflow.Connection.OperationCommand)</Property>
  <Property name="HResult">-2146233088</Property>
  <StackTrace>Client trace
   at Laserfiche.Workflow.Internal.WorkflowServerClient.ExecuteCommand(OperationCommand data)
   at Laserfiche.Workflow.WorkflowServerClientExtensions.ExecuteCommandInternal(IWorkflowServerApi api, ExecuteOperationCommand command)
   at Laserfiche.Workflow.ServerObject.Update()
   at Laserfiche.Workflow.Subscriber.Runtime.WorkflowServerCommandExecutor.ExecuteCommandInternal(SubscriberCommand command, Int32 retryCount)
</StackTrace>
  <additionalInfo>
    <info name="MachineName" value="xxxxxxxx" />
    <info name="TimeStamp" value="05/10/2023 14:11:34" />
    <info name="FullName" value="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    <info name="AppDomainName" value="Laserfiche.Workflow.Subscriber.exe" />
    <info name="ThreadIdentity" value="" />
    <info name="WindowsIdentity" value="EQUIOM\SVC_laserfischePRD" />
  </additionalInfo>
  <InnerException>
    <ExceptionType>System.ServiceModel.EndpointNotFoundException, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
    <Message>Could not connect to net.tcp://xxxxxxxxxx.equiom.lan:8085/ManagementService. The connection attempt lasted for a time span of 00:00:02.0624840. TCP error code 10061: No connection could be made because the target machine actively refused it 10.2.0.109:8085. </Message>
    <Source>mscorlib</Source>
    <HelpLink />
    <Property name="TargetSite">Void HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage)</Property>
    <Property name="HResult">-2146233087</Property>
    <StackTrace>
Server stack trace: 
   at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
   at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
   at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
   at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
   at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
   at Laserfiche.Workflow.IWorkflowServerApi.Connect(ConnectionOptions options)
   at Laserfiche.Workflow.Internal.WorkflowServerClient.EnsureChannelReady()
   at Laserfiche.Workflow.Internal.WorkflowServerClient.ExecuteCommand(OperationCommand data)</StackTrace>
    <InnerException>
      <ExceptionType>System.Net.Sockets.SocketException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
      <Message>No connection could be made because the target machine actively refused it 10.2.0.109:8085</Message>
      <Source>System</Source>
      <HelpLink />
      <Property name="ErrorCode">10061</Property>
      <Property name="SocketErrorCode">ConnectionRefused</Property>
      <Property name="NativeErrorCode">10061</Property>
      <Property name="TargetSite">Void DoConnect(System.Net.EndPoint, System.Net.SocketAddress)</Property>
      <Property name="HResult">-2147467259</Property>
      <StackTrace>   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
   at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)</StackTrace>
    </InnerException>
  </InnerException>
</Exception>

0 0
replied on October 5, 2023

This is still from the Workflow Subscriber, not Forms. At 3:11PM local time the Subscriber couldn't connect to the Workflow Server because the service was not running.

0 0
replied on October 6, 2023

Hi, we have workflows running, just not the ones that are triggered by forms.

 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.