ODK Validate error - Cannot deploy

Hello @werdna014 ,
there is a dependency cycle: same variable (or dependency) is used in a relevant and in calculation. So, check for this combination. I think, it may also be 2 relevants or two calculations interdependent.
Simplified, something like this

type name label relevant calculation
integer Q1 Q1 ${Q2} < ${Q1}
integer Q2 Q2 (Q1 + 10) ${Q1} + 10

OR

type name label relevant
integer Q1 Q1 ${Q2} < ${Q1}
integer Q2 Q2 (Q1 + 10) ${Q1} != ${Q2}

Both will work in Preview, but will crash on deploy:.
image

Of course, in reality the dependency will be less easy to see.
Kind regards

2 Likes