Assign a value

0
I need to assign the value Completed= false to each survey that is created (so that I can filter these items later). but currently the value is not assigned correctly, so the filter does not work.  this is my current microflow (to create the survey) and also the domain model.     I created (as seen in the pictures) the questionay object and gave it the value complete=false, but it doesn't work like this.   As the complete attribute is in another entity called questionarie (not in the survey) I create a 1 to 1 association to evaluate the option to assign this value directly from the activity of creating the survey object. is this possible or what do you suggest?  
asked
2 answers
4

Hey Constanza,

Did you try assigning the Survey entity as Completed= false as default?

from the attribute properties. This way, your attribute will be set to false as soon as it is created. and then you can change it to true through a microflow when you want.

 

Let me know if you face any issues,

Hope it helps! 

answered
0

So for the seek of sharing the solution: 
I delete the second association, just use one (one to many), and in the microflow, specifically in the create object questionary, I add another element to connect the questionarie with the survey, and assign the value of the survey object created directly before, and last left the questionarie create object tab with No in refresh in client.

 

answered