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

Question

Question

Invoke Workflow - Workflow Activity does not exist 0516-WF10

asked on June 15, 2019

We are in the process of upgrading from 10.2 to 10.3/10.4.  The server is 10.3 and workflow is 10.4.1.223.

 

I am having issues with the invoke workflow activity and am not finding much for answers to the error I am receiving.

 

I created workflow A with nothing more than a find entry activity (built just for testing) after the upgrade.  I created workflow B with 2 invoke workflow activities.  Workflow C is a workflow that was built when we were on version 10.2.

Workflow B has one invoke pointing to the 10.2 workflow and one activity pointing to the 10.4 workflow.  When I run the workflow, the invoke workflow that points to the 10.2 workflow runs fine.  The invoke workflow that points to the 10.4.1.223 workflow terminates the main workflow and gives the message "Workflow Test Workflow Activity doe not exist. [0516-WF10]

 

No errors are logged in the workflow administrative console.  No errors are logged in the event log.

 

Running a workflow with the invoke workflow activity when both workflows were created pre-upgrade runs fine.

 

Publishing a workflow created pre-upgrade that has an invoke workflow still seems to work.

 

The issue seems to be isolated to workflows created in 10.4.1.223 that invoke other workflows created in 10.4.1.223.

 

Any thoughts on how to resolve this or where to look for more information?

 

Thanks.

InvokeWorkflow.png
0 0

Replies

replied on June 17, 2019 Show version history

Is your Workflow Server service running as a domain user or as Local System? Are you trying to invoke this workflow on a different server?

There should be a complete error in the activity errors.log under Monitoring.

1 0
replied on June 17, 2019

Thanks Miruna,

I had the app admin look at it, and it turned out to be the enhanced security in workflow 10.4.1.  It defaulted to only allowing only the creator to see a workflow.  Once we turned off that checkbox, the invoke ran fine.

0 0
replied on June 17, 2019

Hm, but the runtime shouldn't do that. Do you mind looking for the full error in the WF Admin Console?

0 0
replied on June 17, 2019

I removed them for security but the "ThreadIdentity" value was my user account and the "WindowsIdentity" value was the managed service account.

 

 

I----------------------------------------
Timestamp: 2019-06-14 23:26:07.816
Local Time: 6/14/2019 6:26:07 PM
Category: Activity
Machine: *********
Severity: Error
Application Domain: Laserfiche.Workflow.Service.exe
Process Id: 4856
Process Name: D:\Program Files\Laserfiche\Laserfiche Workflow 10\Laserfiche.Workflow.Service.exe
Win32 Thread Id: 4892 - 
Thread Name: 
Message: <Exception handlingInstanceId="4693b87f-59e7-49f3-9503-40e1de011fa0">
  <Description>An exception of type 'Laserfiche.Workflow.Objects.WfsoObjectNotFoundException' occurred and was caught.</Description>
  <DateTime>2019-06-14 18:26:07Z</DateTime>
  <ExceptionType>Laserfiche.Workflow.Objects.WfsoObjectNotFoundException, Laserfiche.Workflow.ServerObjects, Version=8.3.0.0, Culture=neutral, PublicKeyToken=d8428ff9263e6cda</ExceptionType>
  <Message>Workflow Workflow 1 does not exist. [0516-WF10]</Message>
  <Source>Laserfiche.Workflow.ServerObjects</Source>
  <HelpLink />
  <Property name="TransferType">PublishedWorkflow</Property>
  <Property name="Parameter">Workflow 1</Property>
  <Property name="Trace" />
  <Property name="IsCommunicationError">False</Property>
  <Property name="ServerExceptionType" />
  <Property name="ActivityName">InvokeWorkflow</Property>
  <Property name="ActivityType">Laserfiche.Workflow.Activities.InvokeWorkflow.SyncableInvokeWorkflowActivity</Property>
  <Property name="InstanceId">7c3dd180-137f-4d9a-9984-3848d7dfdd7c</Property>
  <Property name="TargetSite">Laserfiche.Workflow.ComponentModel.DataContracts.WorkflowInformation GetWorkflow(System.String, Boolean, Boolean)</Property>
  <Property name="HResult">-2146233088</Property>
  <StackTrace>Client trace
   at Laserfiche.Workflow.Objects.Database.GetWorkflow(String workflowName, Boolean isTemplate, Boolean throwIfNotFound)
   at Laserfiche.Workflow.Objects.Database.GetPublishedWorkflow(String workflowName, Boolean throwIfNotFound)
   at Laserfiche.Workflow.Activities.InvokeWorkflow.InvokeWorkflowModule.Invoke(InvokeWorkflowOptions options, WorkflowCreationOptions creationOptions, EntryInformation82 entry, Activity startActivity, IWorkflowConnectionService connectionService, Dictionary`2 inputParameters, Boolean&amp; synchSupported)
   at Laserfiche.Workflow.Activities.InvokeWorkflow.SyncableInvokeWorkflowActivity.PerformInvoke(EntryInformation82 information, Activity root, IWorkflowConnectionService service, Dictionary`2 parameterValues, WorkflowCreationOptions creationOptions)
   at Laserfiche.Workflow.Activities.InvokeWorkflow.SyncableInvokeWorkflowActivity.ProcessResults(ActivityExecutionContext executionContext, TaskResults results)
   at Laserfiche.Workflow.Activities.InvokeWorkflow.SyncableInvokeWorkflowActivity.Execute(ActivityExecutionContext executionContext)
   at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
   at System.Workflow.Runtime.Scheduler.Run()
</StackTrace>
  <additionalInfo>
    <info name="MachineName" value="*********" />
    <info name="TimeStamp" value="6/14/2019 11:26:07 PM" />
    <info name="FullName" value="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    <info name="AppDomainName" value="Laserfiche.Workflow.Service.exe" />
    <info name="ThreadIdentity" value="********" />
    <info name="WindowsIdentity" value="********" />
  </additionalInfo>
</Exception>
----------------------------------------

0 0
replied on September 24, 2019

I'm having the same issue. My workflow service is running under a domain account and the subscriber service is running under SYSTEM. I have gone into Workflow Administrator, followed these instructions and assigned Administrator access to both accounts. I'm still getting this error. Funny, that I can select the workflow from the Invoke workflow activity dropdown list, but I am still seeing that the workflow doesn't exist.

Timestamp: 2019-09-24 12:05:58.842
Local Time: 9/24/2019 8:05:58 AM
Category: Activity
Machine: AZ-PRO-TEST-00
Severity: Error
Application Domain: Laserfiche.Workflow.Service.exe
Process Id: 6376
Process Name: C:\Program Files\Laserfiche\Laserfiche Workflow 10.4\Laserfiche.Workflow.Service.exe
Win32 Thread Id: 7672 - 
Thread Name: 
Message: <Exception handlingInstanceId="fbcce061-0113-464a-8856-ed24121e708c">
  <Description>An exception of type 'Laserfiche.Workflow.Objects.WfsoObjectNotFoundException' occurred and was caught.</Description>
  <DateTime>2019-09-24 08:05:58Z</DateTime>
  <ExceptionType>Laserfiche.Workflow.Objects.WfsoObjectNotFoundException, Laserfiche.Workflow.ServerObjects, Version=8.3.0.0, Culture=neutral, PublicKeyToken=d8428ff9263e6cda</ExceptionType>
  <Message>Workflow Keith - SFI Extract Check Images does not exist. [0516-WF10]</Message>
  <Source>Laserfiche.Workflow.ServerObjects</Source>
  <HelpLink />
  <Property name="TransferType">PublishedWorkflow</Property>
  <Property name="Parameter">Keith - SFI Extract Check Images</Property>
  <Property name="Trace" />
  <Property name="IsCommunicationError">False</Property>
  <Property name="ServerExceptionType" />
  <Property name="ActivityName">ExtractCheckImageWorkflow</Property>
  <Property name="ActivityType">Laserfiche.Workflow.Activities.InvokeWorkflow.SyncableInvokeWorkflowActivity</Property>
  <Property name="InstanceId">8c024a6d-fa2c-4d30-9bd2-cc312a2da5a1</Property>
  <Property name="TargetSite">Laserfiche.Workflow.ComponentModel.DataContracts.WorkflowInformation GetWorkflow(System.String, Boolean, Boolean)</Property>
  <Property name="HResult">-2146233088</Property>
  <StackTrace>Client trace
   at Laserfiche.Workflow.Objects.Database.GetWorkflow(String workflowName, Boolean isTemplate, Boolean throwIfNotFound)
   at Laserfiche.Workflow.Objects.Database.GetPublishedWorkflow(String workflowName, Boolean throwIfNotFound)
   at Laserfiche.Workflow.Activities.InvokeWorkflow.InvokeWorkflowModule.Invoke(InvokeWorkflowOptions options, WorkflowCreationOptions creationOptions, EntryInformation82 entry, Activity startActivity, IWorkflowConnectionService connectionService, Dictionary`2 inputParameters, Boolean&amp; synchSupported)
   at Laserfiche.Workflow.Activities.InvokeWorkflow.SyncableInvokeWorkflowActivity.PerformInvoke(EntryInformation82 information, Activity root, IWorkflowConnectionService service, Dictionary`2 parameterValues, WorkflowCreationOptions creationOptions)
   at Laserfiche.Workflow.Activities.InvokeWorkflow.SyncableInvokeWorkflowActivity.ProcessResults(ActivityExecutionContext executionContext, TaskResults results)
   at Laserfiche.Workflow.Activities.TaskActivityBase.ProcessTaskDirectlyExecutedEvent(ActivityExecutionContext context, ActivityQueueItemCollection itemCollection)
   at Laserfiche.Workflow.Activities.InvokeWorkflow.SyncableInvokeWorkflowActivity.Execute(ActivityExecutionContext executionContext)
   at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
   at System.Workflow.Runtime.Scheduler.Run()
</StackTrace>
  <additionalInfo>
    <info name="MachineName" value="*****" />
    <info name="TimeStamp" value="9/24/2019 12:05:58 PM" />
    <info name="FullName" value="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    <info name="AppDomainName" value="Laserfiche.Workflow.Service.exe" />
    <info name="ThreadIdentity" value="*****" />
    <info name="WindowsIdentity" value="*****" />
  </additionalInfo>
</Exception>

1 0
replied on July 5, 2019 Show version history

I had a similar issue after enabling enhanced security with the 10.4.1 configuration/update. All invoked workflows would fail.

I added under Workflow Administration Console > localhost > Security > Permissions and Rights > New User > Browse > Location = localhost/server > type "SYSTEM" and click OK.

I am not sure why, but setting permissions for "NT AUTHORITY\SYSTEM" fixed my issues.
(fyi I have the workflow service running as local system)

0 0
replied on December 29, 2019

After updating to 10.4.2.121, I ran into the issue again. After some fiddling, seems that SYSTEM might not be needed, not sure what was done, but a first run install then a repair got it working without SYSTEM.

I also unchecked "Only show workflows to their creators by default".

https://www.laserfiche.com/support/webhelp/Laserfiche/10/en-US/administration/#../Subsystems/LFWorkflow/Content/Resources%2FAdmin%20Console%2FAdvanced%20Server%20Options%20Laserfiche.htm

1 0
replied on September 24, 2019

Where are the 10.4.1 "Enhanced Security" options that were referenced in this post? I cannot find them.

0 0
replied on September 24, 2019

List of Changes for Workflow 10.4.1 talks about it...

https://support.laserfiche.com/kb/1014050/list-of-changes-for-workflow-10-4-1

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

Sign in to reply to this post.