question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add validations for the flows data

See original GitHub issue

At the moment it’s quite easy to construct wrong flows, because there are almost no validations.

My proposal

openintegrationhub 2019-05-16 17-30-22

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 and edge.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

Definition of done

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
SvenHoefflercommented, May 29, 2019

@philecs Yes, the model now uses the ObjectId type directly. That should cover all validations that have been discussed so far.

0reactions
philecscommented, May 29, 2019

closed

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found