Hi, Purva Ganesh Rathod
Steps to Create the Microflow
1. Define Entities and Attributes
Quiz
:
Name
: StringQuestion
:
QuestionText
: StringIsCorrect
: BooleanAnswer
:
UserAnswer
: BooleanQuestion
Quiz
2. Create the QuizQuestionPanelPage
Quiz
entity.Question
entity associated with the quiz.3. Create the Microflow to Save the Answer
SubmitAnswers
Microflow Steps:
Create Microflow:
Quiz
entity as the parameter to the microflow.Retrieve Questions:
Question
entities associated with the Quiz
.Loop through Questions:
Create Answer Object:
Answer
entity.Set Answer Attributes:
Answer
entity:
UserAnswer
: This should be set to the value selected by the user (True/False).Question
.Quiz
.Commit Answer:
Answer
entity to the database.End of Loop:
End Microflow:
Hi Purva,
just create two microflows with the input parameter of the question. In one microflow change the value to true, in the other to false, then commit, or commit in the Next button.