Add validations for the flows data
See original GitHub issueAt the moment it’s quite easy to construct wrong flows, because there are almost no validations.
My proposal
Flow graph
- Flow.graph is also required. A flow should have at least 1 node. If a flow has >= 2 nodes, then edges have to be provided.
- Would be nice to check, if
edge.source
andedge.target
are pointing to existing nodes. - Length limitation for
node.id
. I would propose 10 chars. - Length limitation for string properties, which make sense.
Acceptance Criteria:
- Validations are added
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Adding Validation to Flow Screen Components
Step 3.1: Salesforce Flow – Add Input Validation to Validate User Input – City · Under the Text Component, expand the Validate input...
Read more >Validating Form Data with a Flow - Legacy - What is Decisions?
In the Form's Properties > Form Rules, select ADD next to Validation Rules to create a new validation rule. In the Add Validation...
Read more >Validation in Flows – Overview - UnofficialSF
Validation refers to checking values before proceeding, to validate that the values meet the flow's requirements. Validation logic is executed ...
Read more >Add Validation to Flow Screen based on Multiple Fields
In this video, I cover the basic concept of flow validation, the difference between validation rules and flow validation, and how to use ......
Read more >How can I use flow to add validation data and type...
You can do those types of calculations in a Flow, but data validation should be done in the user interface. If you are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@philecs Yes, the model now uses the ObjectId type directly. That should cover all validations that have been discussed so far.
closed