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

Question

Question

When publishing workflow, receive error "Instances of this workflow are currently running."

asked on November 12, 2015

When publishing workflow, receive error "Instances of <this workflow> are currently running."

 

This workflow is disabled, but every time I run it, it keeps running forever.

There are two wait conditions in the workflow.

I would like it to terminate after finishing its tasks.

I am thinking the business process settings may be part of the problem.

Please advise.

0 0

Replies

replied on November 12, 2015

Your screenshot shows the starting rules are disabled, not that you terminated running instances. You can search for them in the Designer and terminate them.

As far as the behavior of the workflow, it works as designed. You have a set of entries that you're going through with For Each Entry. For each one, you send it to a group and wait for it to be processed before moving on to the next one.

What you want to do instead if move the Route to Group activity to its own workflow. Then in For Each Entry, you can invoke that workflow. That way, this workflow will start approval workflows on each entry, but not actually way for their completion before processing the next entry.

 

0 0
replied on November 12, 2015

Thanks Miruna!

 

I will give that a try when I can get back into the server, and let you know here how it goes.

 

All the Best

0 0
replied on November 13, 2015

OK, made good progress. 

 

I can pull the search results into the workflow and extract the Manager Approval field. 

I have separated out the Send to Group workflow and another Send to User workflow. 

Here is the file in a Workflow folder after the first Invoked workflow. Also the email. So far so good.

Now I have a question about the email setup: Need to route to email address of a field value (First Last), and parse the field value into the email address (flast@email.com). Should I put it into another Answers post? Here is the image of my failed config just in case you want to answer it here:

Thanks!

 

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

Sign in to reply to this post.