Can you show us a screenshot of the graphical workflow history (item dropdown menu, view workflow history).
Hi, thanks for your reply
Interestingly, after hours of troubleshooting and eventually posting this question on the community, I had success for the first time - email was sent to my second manager. The only thing I did, was delete and recreate everything I could think of (EG flexi task)... but this isn't really the right way to be troubleshooting - there has to be a reason my workflow emails are not flowing
I now have it moving to the 3rd leg of the Switch, and have the same problem again... no email to the 3rd manager, although the flexi task has been assigned. See screenshots (the logic in line manager 1, and line manager 2, is identical to line manager 3)
as you can see below, the task has been assigned to me as Line Manager 3. However I never receive the flexi task email, which I have configured to send to me
Thanks in advance
Carl
can you show me the task notification config on that action please?
what is the reason for using the switch and update item instead of the state machine and change state out of interest?
Hi, I'm new to Nintex and been thrown in the deep end regarding our business requirements, so i'm doing a lot of googling to try and find ways to accomplish things. I found an article around Loops and Switches which seemed to fit my requirement so that's what I did. I've never used the State Machine, perhaps its better?
It may be that I'm using the wrong function or that there's an easier way, but in any event, I'm not understanding why the task notification is not being sent
The requirement is that an approval task may be approved, rejected, or pushed back to the previous person in the sequence. This must happen until such time as the approval is "Approved" or "Rejected". The recommendation was to use the Switch function to decide which "leg" of the workflow to run in the loop by updating a field which the Switch monitors, until status "Complete" (I hope that make sense)
this is the failed Flexi Task as seen in the workflow above
Hi, as a matter of interest, I also tried the State Machine but have exactly the same issue. (I dragged and dropped the boxes from the previous Switch to the State machine - maybe I copied the error??)
in the 2nd screenshot below, you can see it correctly assigned the task to Carl Taute in both step 1 and step 2, but I only received the first email.
Thanks
OK if you use state machine you can delete the loop - drag the state machine about the loop action and then delete it.
I do not think your email problems are related to that but I think the state machine suits your needs better.
can you try running it again once you have removed the loop (note it can take a little while for the state machine to change states)
Thank you Cassy, I have removed the loop. Same problem - no email. (thanks for the tip on the State Machine, its much cleaner)
I'm going to try start an empty workflow tomorrow morning and see if that helps. I'm hoping it was my own fiddling that "broke" it, although I don't quite see how.
Any idea if there is a logfile on the server where I can see if the email was sent, and to where etc (to verify if the email left the SharePointNintex server and hit my MS Exchange box)
Thanks
Carl
OK great I am pleased you like the state machine.
I am inclined to agree that starting again and adding actions in step by step for testing is a good approach. I have found workflows don't cope very well at times when you change them drastically (!!!)
can you confirm that the action send notification does indeed work?
To be honest I don't know where you would look to check - I normally have to go to the exchange team to check, but I have no idea what they do to give me an answer.
Hi, as recommended, I have recreated a workflow from scratch using a State Machine, and it is working perfectly thus far.
I have not yet added any of the "Run Ifs" which we will need to, but the state changing with the various task assignment notifications is working perfectly
I can only assume that I tried too many weird and wonderful things in my previous workflow which somehow messed with the emailing.
thank you Cassie for your guidance and tips, I really appreciate it.
Great news Carl Taute - it can be a funny old product when it wants to be!
I am pleased you have it sorted now, the run ifs shouldn't have any impact on it now that you have proven it to work.
You will find this approach to your design (state machine over switch) much easier to maintain and change if a new approval is required to be added.
Please mark an answer correct so that this thread can be closed out.
Bad News
I think I've found a bug. It appears the problem is related to having a "Run If" within the Change State (or even the Switch command I used previously)
this workflow was working perfectly until I inserted a box around the Flexi Task, to "Run If Manager 1 is not empty".
from this point on
- the switch machine takes 30-45 seconds to move to the correct state (previously it was instant). It almost points towards the workflow having some kind of processing error?
- the emails stop working again.
this honestly looks like a bug to me. If I take the flexi task out of the Run If, it reverts to normal again
Here is the Run If logic. (Line Manager 1 is set to Carl Taute)
ah that is so odd!
Have you raised this with Nintex Support?
I will try and replicate this my end to see if I get the same behaviour. Will keep you posted.
Thanks. I will be installing the latest Nintex updates tonight and rebooting my servers. If it still behaves in this way I will log with Nintex support
Carl
Unfortunately the Nintex updates and server reboots did not help. My local Nintex support partners built the same workflow in their dev environment and got it to work 100%. We then exported and imported their workflow into my environment, and still have the same issue (emails after "Run If" not working).
We will be logging with Nintex Support to assist further.
Keep Well
Hate it when that happens! Hopefully support will be able to spot the issue!