# Status Updating

**URL:** <https://forum.kintone.dev/t/status-updating/994>\
**Category:** General\
**Created:** [May 13, 2024, 8:03am UTC](https://forum.kintone.dev/t/status-updating/994 "2024-05-13T08:03:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex\_Hoo](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/alex_hoo/32/578_2.png) [@Alex\_Hoo](https://forum.kintone.dev/u/Alex_Hoo)\
**Post date:** [May 13, 2024, 8:03am UTC](https://forum.kintone.dev/t/status-updating/994/1 "2024-05-13T08:03:33Z")

</div>

Hi,

Currently I'm trying to create an auto status update based on another filed in the application under Warranty Expired. Is there anyway to do it?

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/kintone/original/1X/8d889ca9dfa3314676c4611824e8b22f5df89742.png)

Thanks.  
Alex

---

<div class="post-metadata">

**Author:** ![Chris](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/chris/32/44_2.png) [@Chris](https://forum.kintone.dev/u/Chris)\
**Post date:** [May 13, 2024, 3:49pm UTC](https://forum.kintone.dev/t/status-updating/994/2 "2024-05-13T15:49:33Z")

</div>

Hello @Alex_Hoo  
Since records do not update themselves automatically in Kintone, you would need a third party service that would trigger a script. The flow would be something like:

1. Get today's date using moment.js
2. Check whether the date meets the required condition (the date matches the Warranty Expired field or the date exceeded it, etc.))
3. If valid, update the status, if not keep the status.

> **[Update Status](https://kintone.dev/en/docs/kintone/rest-api/records/update-status/)**
>
> Updates the Status of a record of an App, that was set with the Process Management feature.

---

<div class="post-metadata">

**Author:** ![Alex\_Hoo](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/alex_hoo/32/578_2.png) [@Alex\_Hoo](https://forum.kintone.dev/u/Alex_Hoo)\
**Post date:** [May 14, 2024, 12:20am UTC](https://forum.kintone.dev/t/status-updating/994/3 "2024-05-14T00:20:40Z")

</div>

Hi Chris,

Thanks for sharing the link, I still trying to understand how I should add on the code for check warranty expired field.

Regards  
Alex Hoo
