Tips: Returning objects


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?

Solution from Support:

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.