Hello
we've had a recurring issue with our WebMaker forms/BizFlow processes. I think the basic underlying issue is our network performance, however, we've not not got much hope of changing anything with the infrastructure...
The issue is this:
Our forms complete, and initiate the call to the WIH to move the forms on. But there seems to be an issue when writing the info from form to (e.g.) rlvntdata - the processes move on and make other changes to rlvntdata variables BEFORE the forms have completed their writeback. This results in some of the data that the processes are populating being lost by the form writeback.
Is there any way to delay the call to the WIH for even 0.5 seconds? I realise this is a bodge, but we are getting no joy with our infrastructure issues...
we've had a recurring issue with our WebMaker forms/BizFlow processes. I think the basic underlying issue is our network performance, however, we've not not got much hope of changing anything with the infrastructure...
The issue is this:
Our forms complete, and initiate the call to the WIH to move the forms on. But there seems to be an issue when writing the info from form to (e.g.) rlvntdata - the processes move on and make other changes to rlvntdata variables BEFORE the forms have completed their writeback. This results in some of the data that the processes are populating being lost by the form writeback.
Is there any way to delay the call to the WIH for even 0.5 seconds? I realise this is a bodge, but we are getting no joy with our infrastructure issues...
Hi kidder,
I+?+?+?m sorry you are having issues with the timing of data updates within your form processes.
Unfortunately, without seeing all the details it is hard to suggest a solution, but in terms of adding a delay, have you looked at the page level events on the forms?
In normal usage, clicking a WIH button (eg complete) will trigger an External Event on the form to cause it to validate and save the information, including a web service call back to BizFlow to update the Process Variables. Once this is completed, an onload event will then tell the WIH to continue with the requested process.
This is not something I have tested, but if you are looking to introduce a delay, you might be able to adjust the onload event so that the call back to the WIH actually happens a bit later.
You should be able to inspect the source of the running form to see the generated script for this call. You could then switch the event definition on the Page Design tab to use a Custom Script action instead, and wrap the fragment you have retrieved inside a setTimeout call, eg
setTimeout(function() {
//WIH call script here
}, 500);
where 500 is the delay in milliseconds.
I+?+?+?m not sure if this will help with your issues, but it might be worth a try!
Regards,
Gerard
Thanks Gerard, I'll give it a