How to restrict only 1 form submission per user
Comments
-
Hello,
We are working on a project to create a flow for employee termination. One of the requirement is to submit only 1 request for a given employee. If there exists an active termination request, dont allow submitter to proceed further. (ignore any termination requests for that employee those were closed/cancelled due to rehire+reterminate or hire+terminate+cancel termination). What is the best course of action to accomplish this? -
One option you could do would be to just point a query or report at your assignment table and then filter the results down to the user email or name. Once you parse that out you can push it through a simple rule that looks at whether or not an assignment has the name, for example, "termination" and the status = active. If this rule is true, then push them to an end form that says there is already an active submission. If its false, then you can allow them to continue with the process.
You could also look at using a truth table to exhibit this same behavior, where your columns would be employee name, assignment status = active and then push it through the same logic as listed above.
Thanks
Howdy, Stranger!
Categories
- 4.1K All Categories
- 61 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions