Hello Team,
Let's imagine that I have the following case:
Do you know how to prevent that the button is visible for the second user? I was expecting that after the first user completes the action, both sessions will be refreshed, however only the sessions for the user that performed the action is being refreshed.
I understand that I can create a condition on the PM, and as soon as the user click on the button (the button should be disabled at this point), I can show a message and terminate the process but I wanted to know how can I disable the button for a parallel session that didn't trigger the button and it's not performing any action on the interface? Even I consider an interval on the refreshVariable I'm afraid that the minimum (30s) is too long.
Thank you in advance.
Discussion posts and replies are publicly visible
Did you consider using related actions? Initiating a process in context of a specific record item is exactly the use case they are made for.
Hi Stefan, this is a project that was built some time ago without related actions and I wanted to know if there is a way of preventing this before thinking about changing a wider scope of this existing project. But yeah, I know and I agree with you... I was jus trying to reduce the effort from my side :)
You can give a try to Timer Component plugin with which you can refresh a variable in custom time interval (I haven't used it in any project but have tried on CE site),also keep in mind that the performance is not impacted with this and also it will create dependency on a custom plugin.
In case only the ID of the record is passed to these processes, they can easily be turned into related actions. Then you can refresh the summary after the record action.