Run away workflow

Post any question regarding setting up, running or configuring Verj.io Workflow

Moderators: Jon, Steve, Ian, Dave

systemsolutions
Ebase User
Posts: 19
Joined: Tue Oct 03, 2017 3:33 pm
Location: USA

Run away workflow

#1

Postby systemsolutions » Thu Jun 13, 2019 4:37 pm

Is there a way to kill a run away workflow. I have a task that failed but it can't set the state to completed because it's already set to complete. It just keeps throwing an error.
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

Re: Run away workflow

#2

Postby Jon » Wed Jun 19, 2019 3:35 pm

Resolved via support log.

The detail of this problem is a System Task or Decision Node that runs continuously, each time failing with an error:
Cannot complete from state: Completed

The solution is:

1. Stop the server
2. Remove the appropriate record from the workflow_workitem database table - this table acts as a "work queue" for the background workflow process. The record to be removed is uniquely identified by process name, version, job number, node enactment number. These details are found in the error messages issued to the log. Usually this table contains few records and this identification is not difficult.
3. Restart the server
0 x


Who is online

Users browsing this forum: No registered users and 3 guests