Skip to main content

I have created a bunch of separate SharePoint lists that use Nintex 2013 forms which my organisation uses for HR functions - recruitment, health and safety, updating personal details etc. Each has at least one Nintex workflow that is triggered when certain criteria have been met. The workflows are nothing particularly special, they just control item level permissions, get user credentials from the UPS, and go through a multi-approvals process before flicking a few emails to relevant parties, however they can be quite large ( although I try to keep below the recommended 500kb mark and have separated things in to multiple, smaller workflows where possible).

When a user submits a form and the the workflow initiates, these forms hang for about 10 seconds and the user is left with a blank screen before they are redirected back to the default list view. The browser tab does show the spinning wheel, but it is not particularly obvious, and people have a tendency to be impatient. Has anyone had any luck providing the user with a please waitsubmitting or processing animation instead of the blank screen before redirecting the user back to the list? I am aware of the ability to display a confirmation message, but was hoping for something a bit more aesthetically appealing. Or can the confirmation message window be leveraged at all perhaps?

just worked it out using JavaScript with the help of this post:

 


if you want to shorten time while user needs to wait, add pause action at the very begin of workflow

 


never considered this. Thank you!


Hi @cyclonereverb, do you mind telling me how did you solve this?

@JairHeCa ok, so this is going back a wee while! I have unpicked what I can - see below:


 


It all looks quite simple, really. It is initiated by the Client click on a button (advanced settings of the button properties)


 


Client click: 


MyButtonOnClientClick()

 


This calls the custom javascript in the form settings:


function MyButtonOnClientClick()
{
Page_ClientValidate();
if(Page_IsValid)
{
SP.UI.ModalDialog.showWaitScreenWithNoClose('Please wait', 'submitting your data...');
return true;
}
else
{
return false;
}
}

This is a rinse and repeat solution - I have different messages on 3 individual buttons (save as draft, save and submit, and cancel) by simply duplicating the above and modifying the function name and message that is contained.


 


It is a pretty bulletproof solution, and the bigger the form (the longer the save time), the more effective this becomes. 


 


Hope this helps :)


Thanks for the response @cyclonereverb, I'll give it a try and let you know the outcome. I forgot to mention I'm using Nintex O365.


@JairHeCa Hmmm not sure if this will work in 365 or not - I am familiar with on prem environments only - but worth a shot. Good luck!


Reply