error in mendix academy picture

0
In crash course 8.5.1, should not be the decision paths inverted for the decision to delete an account ? exists => delete not exists => do nothing / end   or the caption of the decision changed to ‘Account empty ?’  
asked
1 answers
0

you have to just understand it 

has account is a boolean datatype attribute and by default it is false so has account is false 

so when someone click it as true or yes 

then condition of the microflow goes true where we are checking account needed or not $Employee/HasAccount and go to the next decision 

but if someone click on not account needed condition is false 

and microflow comes at account exists decision so we have fetched data over association

Now we check in decision in account exists or not in account entity here we put the condition  $Account= empty if account is empty (means not available) then it will go to true 

else on false we have put delete account activity

now to go to main flow of microflow account needed if account needed check true or yes (second picture of my answer) now again we check $Account object is empty or not  in create account decision after account needed decision  if it is empty then condion is true and we proceed to create account activity.

 

I hope it will help you

answered