Skip to main content
Nintex Community Menu Bar

Site Workflow help with Manager field

  • May 22, 2017
  • 32 replies
  • 33 views

Show first post

32 replies

jesse_mchargue
Forum|alt.badge.img+12

Can you provide a screenshot of the entire workflow?

Is the first manager getting multiple emails or one email for everyone? 

I am trying to understand where/when it is looping/not looping. 

It sounds like you can get the manager's name, but rather than getting them one at a time, you are only getting the first one and all are executing on that single manager.  My guess is that the index is not being incremented ([index] += 1 ) or the email notification in not inside the loop.

We are close to getting this solved happy.png!


Forum|alt.badge.img+7
  • Author
  • May 24, 2017

yes, the first manager receives all the notifications (so for both employees in this case).


jesse_mchargue
Forum|alt.badge.img+12

‌ - 

What you provided, you should be good... the email notification that is being sent, what does it contain?

Also, how/what are you setting in the "Set Employee Name" step?


Forum|alt.badge.img+7
  • Author
  • May 25, 2017

the set employee name variable is the varEmployeeName to workflow data - queriedItems (Display Name). The email goes to the managers but I have it disabled for testing purposes. The email when testing only go to the first manager (for both employees). Am I missing a loop or something?


jesse_mchargue
Forum|alt.badge.img+12

are you increment your index value? I am wondering if it is pulling the same manager for both because you are tellingit the same index.


Forum|alt.badge.img+7
  • Author
  • May 25, 2017

I removed the index from the loop and re-added it. it is working now! Thank you ‌ for all your help!!!!


jesse_mchargue
Forum|alt.badge.img+12

‌ - 

Glad we could help happy.png