# Next-gen Rules / PanelUI

**URL:** <https://community.openhab.org/t/next-gen-rules-panelui/65803>\
**Category:** Beginners\
**Created:** [January 27, 2019, 9:02pm UTC](https://community.openhab.org/t/next-gen-rules-panelui/65803 "2019-01-27T21:02:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lblabr](https://community.openhab.org/letter_avatar_proxy/v4/letter/l/57b2e6/32.png) [@lblabr](https://community.openhab.org/u/lblabr)\
**Post date:** [January 27, 2019, 9:02pm UTC](https://community.openhab.org/t/next-gen-rules-panelui/65803/1 "2019-01-27T21:02:56Z")

</div>

i’d like to use sendXMPP() from a rule. how this can be done from next-gen rules inside PaperUI ?

code somebody provide a code snipset ?

thanks in advance

Lars

---

<div class="post-metadata">

**Author:** ![rlkoshak](https://community.openhab.org/user_avatar/community.openhab.org/rlkoshak/32/75251_2.png) [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Post date:** [January 28, 2019, 6:06pm UTC](https://community.openhab.org/t/next-gen-rules-panelui/65803/2 "2019-01-28T18:06:43Z")

</div>

See [Experimental Next-Gen Rules Engine Documentation 5 of : Actions](https://community.openhab.org/t/experimental-next-gen-rules-engine-documentation-5-of-actions/57589) for how to do this using lewie’s library. Because the Next Gen Rules Engine is “Experimental”, complete documentation doesn’t exist. you will need to read the previous pages of the documentation in progress for how to import the library.

---

<div class="post-metadata">

**Author:** ![lblabr](https://community.openhab.org/letter_avatar_proxy/v4/letter/l/57b2e6/32.png) [@lblabr](https://community.openhab.org/u/lblabr)\
**Post date:** [January 28, 2019, 7:16pm UTC](https://community.openhab.org/t/next-gen-rules-panelui/65803/3 "2019-01-28T19:16:25Z")

</div>

i have seen that, could you be so nice and just name the steps, what exactly needs to be written in the text field from next-gen rules in paperui ?

thanks in advance

Lars

---

<div class="post-metadata">

**Author:** ![rlkoshak](https://community.openhab.org/user_avatar/community.openhab.org/rlkoshak/32/75251_2.png) [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Post date:** [January 28, 2019, 7:49pm UTC](https://community.openhab.org/t/next-gen-rules-panelui/65803/4 "2019-01-28T19:49:46Z")

</div>

I haven’t written the docs for it yet. I don’t know how to do it yet myself beyond what is written there.

Everything I know is in those pages.
