Owner_id different form case to case


I have a problem in commcare. the owner id is diffrent from case to case ?

How it can be change and why its change?

note that its the same user

thanks in advance

check your form. it can possibly be updating the owner id with a form logic.

Normally, the only thing that will change the case owner id when created by the same user is a form logic. the default behavior is to use the user's ID as the owner ID for cases when case management is not on, and when it is, unless you have form logic that says otherwise, the owner ID will be the ID of the location or group that is their default choice.

If a user belongs to more than one group or location, the app will throw an error unless it sees that you have a form configuration that updates owner_id.