# storeStates, restoreStates

**URL:** <https://community.openhab.org/t/storestates-restorestates/29994>\
**Category:** Scripts & Rules\
**Tags:** rules, action\
**Created:** [June 14, 2017, 5:48pm UTC](https://community.openhab.org/t/storestates-restorestates/29994 "2017-06-14T17:48:10Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![shawnmix](https://community.openhab.org/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@shawnmix](https://community.openhab.org/u/shawnmix)\
**Post date:** [July 3, 2017, 3:11pm UTC](https://community.openhab.org/t/storestates-restorestates/29994/7 "2017-07-03T15:11:43Z")

</div>

@steve1 - are you able to help provide some input [HERE](https://community.openhab.org/t/rules-validation-issues/30825)?

I’m looking to iron out the last error message I’m receiving in my output of rules loading. It seems to be related to the use of a MAP variable, storeStates, and restoreStates. I’ve provided the relevant sections of the rules file that use this. Seems you are using this and/or have a successful setup. Hoping you might be able to identify what I’m missing.

---

_[View the full topic](https://community.openhab.org/t/storestates-restorestates/29994)._
