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

Question

Question

Audit Trail shows entry recycled by workflow.

asked on July 30, 2019

Hi,

We have some files that, according to the Audit Trail are being recycled by Workflow. When I search Workflow by the Entry ID, or the affected folder path I'm getting no results.

Anyone have any suggestions on how to locate which workflow is running that is deleting those files?

Thanks

0 0

Replies

replied on July 30, 2019

Check the auditlog to find out what machine and program are deleting the documents.  Then if it is coming from workflow, you can make sure you check the correct machine and search for workflows run on the entry id that was deleted.  Note that when you search Workflow, you do not want to only search starting entries as it may be a workflow that does a search and deletes the results.

0 0
replied on July 30, 2019

This could also happen if Workflow (or a user) tried to create an entry and failed. In that case, Workflow wouldn't record the entry ID because it was never a "proper" entry.

0 0
replied on July 30, 2019

I found the WF that was deleting the entries. It has no enabled starting rules, so I'm assuming that it is being invoked by another workflow.
 

Is there a way to search workflow to see which is invoking this one?

replied on July 30, 2019

I have found the workflow that is deleting files, which is what it was designed to do.
 

It is scheduled to run at 11:07 pm every night, which it's doing.

 

However, the schedule is not enabled. How is this running if the starting rules are not enabled?

0 0
replied on July 30, 2019 Show version history

Do you see the workflow instance that last ran?  what does it show for the starting rule or event?  Is it being called/invoked by another workflow?

0 0
replied on July 30, 2019 Show version history

There is a starting rule that schedules the job to run, but it is not enabled. Instances of the WF have run nightly at the scheduled time over the last month.

If it is being invoked by another workflow, I would assume that it would run when invoked and not at it's scheduled time.

0 0
replied on July 30, 2019

Can you double-check the Windows Task Scheduler on the Workflow Server? You may have to enable showing hidden tasks. We've had some issues in the past where sometimes disabling a scheduled starting rule did not disable the underlying scheduled task.

Workflow schedule names will be in the WF8_<ServerName>_WF<workflow ID>_R<rule ID>. You can get the ID of the workflow and starting rules from SQL (workflow table and starting_rule table), but you may be able to just match yours from the starting time.

1 0
replied on July 30, 2019

I did find it in the history of the task scheduler, but not in the list active tasks. 
I had already changed the starting rules to end the schedule yesterday, so that might be why it isn't showing up as an active task.

Good to know that disabling a WF doesn't stop the task from running though.

0 0
replied on July 30, 2019

It's expected to, but we've seen a few cases where it didn't. We're still investigating the root cause.

What version of Workflow are you running?

0 0
replied on August 1, 2019

Workflow Server is 8, Designer is 10.2.216

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

Sign in to reply to this post.