Hi All, Going round in circles here and after some help
I have the following things:
Order, Area, Question, SubmittedAnswer
General logic is a user places an order, they then select applicable areas. Based on the areas selected a list of questions is generated in a repeating group along with a drop down with possible answers.
I have hidden groups etc so workflow wise it is the below
Show - Order Group - User inputs Order in input and clicks next - this generates a new order
Show - Area selection repeating group - user selects various as needed and it is stored in a state called areaSelected - they then click next.
Show - Question repeating group based on areaSelected state (A question already links back to an area), within the repeating group i then have a dropdown that lists some premade answers.
User answers questions and then clicks submit.
My Workflow then is to run a backend workflow to create a new submittedAnswer for each one in the question repeating group. Parameters are:
O = Order from first part
Q = Question from repeating group
A = Answer selected from the question repeating group
I can’t seem to get the dropdown value … when selecting the parameters etc i can link it to the repeating group but it will not show the dropdown.
Am i doing this correctly? Is there another method i should be using? i don’t want to create the questions one by one as the user might go back and de-select an area, hence the need to do it once they submit the order.
Any advice/help appreciated