Skip to main content
Nintex Community Menu Bar

Scheduled Workflows Run Multiple Times


butlerj
Nintex Employee
Forum|alt.badge.img+20
ISSUE
When a workflow is scheduled, multiple instances of the workflow are run.
ERROR CODE
RESOLUTION
  1. Navigate to Central Administration > Monitoring > Timer Jobs > Review job definitions.
  2. Locate and select Nintex Workflow Scheduler.
  3. If there is more than one Nintex Workflow Scheduler Job running in the farm use the following command to uninstall the jobs:
    NWAdmin.exe -o UninstallTimerJob -job ScheduledWorkflows -url <WebAppURL>
  4. If there are no Nintex Workflow Scheduler jobs running after performing the above, run the following command to install the job:
    NWAdmin.exe -o InstallTimerJob -job ScheduledWorkflows -url <WebAppURL>
Note: There should only be one instance of the job in a farm. Do not install the job on each Web App.

 

For more information, see Scheduled workflows and the Nintex Workflow Scheduler timer job.
ADDITIONAL INFORMATION
RELATED LINKS
Translate
Did this topic help you find an answer to your question?

3 replies

Forum|alt.badge.img+2
  • 8 replies
  • January 24, 2019

I've tried suggested resolution.
It did not help.

Here is our situation.
Workflow, scheduled run once a day.
Schedule settings:

Repeat settings
Repeat every Hours Days Months

Schedule end: Indefinite

It takes about 6 minutes for this workflow to complete.
This workflow does not have any pauses or waiting for anything to change:
only runs SQL query, collects data to build a report and sends emails.

Farm settings
1. Nintex Workflow Scheduler job is defined only once.
2. Nintex Workflow Scheduler: Runs every 5 minutes
3. The job is scheduled to run on 3 WFEs servers.

The scheduled workflow in question  runs twice every time. 
A simple workflow that only logs to history and stops, runs only one most of the time (9 times of 10) but sometimes still runs twice. 


I'm a little bit confused how scheduled jobs on 3 servers are able to synchronize to avoid duplicate runs.
Also, what happens when a scheduled workflow is still running and the next scheduled Nintex Workflow Scheduler job starts.

Any suggestions?
 

Translate

butlerj
Nintex Employee
Forum|alt.badge.img+20
  • Author
  • Nintex Employee
  • 260 replies
  • January 25, 2019

Hi Oleg,

This may be a SP Farm topology issue, or a conflict with how the Workflow Timer Job is trying to execute. I would suggest opening a support ticket and asking one of the engineers to review your farm topology to ensure that everything looks to be configured properly.

Translate

Forum|alt.badge.img+2
  • 8 replies
  • January 25, 2019

Thank you. Opened a support ticket.

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings