# Moving of a CHW

**URL:** <https://forum.communityhealthtoolkit.org/t/moving-of-a-chw/3662>\
**Category:** Technical Support\
**Tags:** move-contacts\
**Created:** [June 11, 2024, 12:46pm UTC](https://forum.communityhealthtoolkit.org/t/moving-of-a-chw/3662 "2024-06-11T12:46:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anro](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/anro/32/2145_2.png) [@Anro](https://forum.communityhealthtoolkit.org/u/Anro)\
**Post date:** [June 11, 2024, 12:46pm UTC](https://forum.communityhealthtoolkit.org/t/moving-of-a-chw/3662/1 "2024-06-11T12:46:18Z")

</div>

We’ve recently experienced some confusion with moving contacts via their edit form.  
Like shown below (taken from [this](https://forum.communityhealthtoolkit.org/t/when-should-i-move-contacts-via-medic-conf-and-when-can-i-use-contact-forms/886) thread):  
 ![image](https://communityhealthtoolkit.b-cdn.net/uploads/default/original/2X/4/4f477a6dd9604721970ad9979fd5b99c52ed2bf7.png)

As an admin moving the person, similar as above, results in the hierarchy updating accordingly.  
We, perhaps incorrectly, assumed that was all there was to it. The CHW can now log in and pull their new work.  
Unfortunately this was not the case. Logging in as the CHW the same work is displayed as before.  
After some playing around it seems we required 2 additional steps:

1. We need to update the `place` value for the login user linked to the moved CHW.
2. The CHW then needs to clear their cache in order to replicate the new data, simply syncing did not work.

Is that the expected behavior?  
I’m not sure if this process is perhaps documented anywhere and we just missed it?

---

<div class="post-metadata">

**Author:** ![jkuester](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/jkuester/32/806_2.png) [@jkuester](https://forum.communityhealthtoolkit.org/u/jkuester)\
**Post date:** [June 11, 2024, 1:44pm UTC](https://forum.communityhealthtoolkit.org/t/moving-of-a-chw/3662/2 "2024-06-11T13:44:21Z")

</div>

As [previously noted](https://forum.communityhealthtoolkit.org/t/moving-of-places/3440/2), moving contacts is current a hot-topic for the CHT since the current functionality is not sufficient.

> [@Anro](#):
>
> Is that the expected behavior?

I think the short answer is, yes, this is expected behavior. [These docs](https://docs.communityhealthtoolkit.org/apps/guides/updates/moving-contacts/) cover the general process of moving contacts (particularly for an admin user moving contacts between offline users). Unfortunately, I am not sure we have any specific docs regarding moving a _user’s contact_. The process should be similar as what is documented for moving any other contact with this addition (as you noted) that the `facility_id` value for the doc in the `_users` db and the `user-settings` doc in the `medic` db will need to be set to the contact’s new place id. FWIW, I know that improving the process of moving users is a priority for [GitHub - medic/cht-user-management](https://github.com/medic/cht-user-management) and progress is being made, and more features are being added to cht-core to help support this…
