Skip to main content
Nintex Community Menu Bar

Multiple Emails Sent Out - Only When Triggered From Another Workflow

  • Mar 27, 2017 3:12 AM UTC
  • 13 replies
  • 18 views
  • Translate All

rhia
Nintex Partner
Forum|alt.badge.img+15

Hey folks:

Having an issue. I have a state machine that triggers other workflows as required. In this case:

  • my Manager Entry workflow has one notification that goes out within it. If I run that workflow on its own, it works as expected - 1 email goes out.
  • If it runs when triggered by the State Machine, it sends out 4 emails instead and I can see 4 instances of the "Waiting on Modified By", for example -- even though only one instance of the workflow has been triggered.

Thoughts? I have already rebuilt the email notification itself, and the State Machine's "Start Workflow" is the standard action... nothing fancy.

Thanks for any help you can offer. Driving me nuts.

13 replies

Forum|alt.badge.img+8

Can you please share the workflow configurations? It will help understand.

Translate

Forum|alt.badge.img+16

yes can we see?  are you sure you're state machine isn't looping with a missing "change state" action?

Translate

Forum|alt.badge.img+14
  • Scholar
  • Mar 27, 2017 8:39 AM UTC

place a pause action at the very beginning of the workflow, it should help.

Translate

Forum|alt.badge.img+12
  • Nintex Partner
  • Mar 27, 2017 1:23 PM UTC

Just faced the same situation and remembered "wait, didn't I see a question about this today's morning"?

My state machine starts a workflow and waits for its completion. The started workflow calculates some stuff and sends an email to a single recipient. No looping, no groups.

The person addressed in the email is getting the same email 4 times.

Translate

rhia
Nintex Partner
Forum|alt.badge.img+15
  • Author
  • Nintex Partner
  • Mar 27, 2017 7:00 PM UTC

100% sure - this is a SUPER simple workflow. Will post a screenshot.

Translate

rhia
Nintex Partner
Forum|alt.badge.img+15
  • Author
  • Nintex Partner
  • Mar 27, 2017 7:08 PM UTC

To those requesting screenshots:

"User Manager" is a Person field, it is one person.

Translate

rhia
Nintex Partner
Forum|alt.badge.img+15
  • Author
  • Nintex Partner
  • Mar 27, 2017 7:09 PM UTC

Okay, sorry it's happening to you - but also - glad to see it's not just me!

Nintex Support‌ Frank Field‌ This smells like a bug...

Opened a ticket, case # 00145703

Translate

rhia
Nintex Partner
Forum|alt.badge.img+15
  • Author
  • Nintex Partner
  • Mar 27, 2017 7:28 PM UTC

I'll give this a shot, ‌ - will let you know if it helps!

Translate

Forum|alt.badge.img+8

Hi ‌!

What happens when you publish the workflow under a different name and remove the 'old' one?

Cheers,

Rick

Translate

rhia
Nintex Partner
Forum|alt.badge.img+15
  • Author
  • Nintex Partner
  • Mar 27, 2017 8:31 PM UTC

The one with the state machine or the one the state machine is triggering?

Translate

Forum|alt.badge.img+8

The one the state machine is triggering.

Translate

rhia
Nintex Partner
Forum|alt.badge.img+15
  • Author
  • Nintex Partner
  • Mar 27, 2017 11:21 PM UTC

Update:

So, Nintex is telling me it's not a bug, but has requested to see my workflows, and I've sent them along.

Following ‌'s advice - adding a Pause at the beginning of my triggered workflow - has resolved my issue for the time being (Thank you Marian!)

Thank you ‌ - I did not get a chance to try your advice, but I appreciate it none the less.

I am going to mark Marian as correct, but will update once I receive more information from Nintex on this issue.

‌ -- are you able to say WHY adding a pause solves the problem? Or is it just "one of those things"?

Translate

Forum|alt.badge.img+14
  • Scholar
  • Mar 28, 2017 7:01 AM UTC

the reason is explained here  https://community.nintex.com/nintex-blogpost/1289%C2%A0

when workflow is started on a event, it can be started sooner then list item is fully instantiated. then it has these undesired side effects.

Translate