Hi All,
So here, i using related action for Return form the manager, based on return status i make a visibility condition to display the Related action,
problem:when shopkeeper accidentally click and submit the form , the manager will get two Tasks in Same Instance.
related action form.
Discussion posts and replies are publicly visible
It is a bit difficult to understand what is going on. Can you try to explain in more detail?
When user accidentally double clicks on a related action shortcut , two instance is getting generated. Is there any way to avoid this ?
Hi, I think we can apply visibility over the related action if the instance is generated the related action must not be visible.
how can write a condition.?
Do you have any table in database where you store the task details.
yes.
So create a query rule which gets the data for the particular request's task and if you have the data then set the visibility to false else true.
NOTE : You must have something unique to identify the task
How about using loadingIndicator parameter for the Submit button. It doesn't allow the user to hit the button twice until the first instance is completed