# How to change a thing in Data type B if changes made in Data type A

**URL:** <https://forum.bubble.io/t/how-to-change-a-thing-in-data-type-b-if-changes-made-in-data-type-a/318586>\
**Category:** Database\
**Created:** [April 20, 2024, 2:45am UTC](https://forum.bubble.io/t/how-to-change-a-thing-in-data-type-b-if-changes-made-in-data-type-a/318586 "2024-04-20T02:45:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![saiganesh132](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@saiganesh132](https://forum.bubble.io/u/saiganesh132)\
**Post date:** [April 20, 2024, 2:45am UTC](https://forum.bubble.io/t/how-to-change-a-thing-in-data-type-b-if-changes-made-in-data-type-a/318586/1 "2024-04-20T02:45:36Z")

</div>

Hey, So i have Two data types lets say type A and type B, there is a form in the frontend of my website when a user fills a form and submits a entry is created in Data type A. I have added a drop down element in the repeating group (same group where form submitted data is displayed) and this drop down element has 3 options approve, reject, pending. By default its pending now when he admin sets the dropdown value to approved i have set a workflow to create a thing in Data type B till here everything works fine, now when i try to add a workflow for delete a thing when the admin sets the value of dropdown from approved to either pending or rejected its not showing Data type B option under Data sources in To delete action ( To delete is delete a thing action) so how do i achieve this. (I guess its because Data type B is not in the context of workflow im editing as the dropdown element is related to Data type A)

---

<div class="post-metadata">

**Author:** ![alex.esposito.1108](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alex.esposito.1108/32/191677_2.png) [@alex.esposito.1108](https://forum.bubble.io/u/alex.esposito.1108)\
**Post date:** [April 20, 2024, 3:56am UTC](https://forum.bubble.io/t/how-to-change-a-thing-in-data-type-b-if-changes-made-in-data-type-a/318586/2 "2024-04-20T03:56:04Z")

</div>

Is there any field linking the two datatypes? If so, you can search for data type b, select the first item then delete it
