Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Returning objects

Raj Dec 16, 2015 03:35PM PST

I am trying to model an 'Validate' Decision which returns a boolean (yes/no) along with a list of validation messages (objects containing message and severity). In the Questions & Answers section, what answer type should I use?

1 Community Answers

Best Answer
Support Dec 16, 2015 04:57PM PST

I would probably model this as a Yes/No question and describe the messages in the supporting information field. However from a decision modeling perspective you probably have two decisions - a Validate decision that does what you describe and a decision it depends on that returns a list of validation messages - 'Determine validation issues' or similar. The likelihood is that some validation issues cause a No in the validate while others do not (warnings) or only do so in combination. Making these two separate decisions with a dependency will keep the questions and logic clearer in the long run.

This question has received the maximum number of answers.

Contact Us
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found