# Painless scripting

**URL:** <https://discuss.elastic.co/t/painless-scripting/242139>\
**Category:** Elasticsearch\
**Tags:** painless\
**Created:** [July 22, 2020, 6:46am UTC](https://discuss.elastic.co/t/painless-scripting/242139 "2020-07-22T06:46:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![richylyq](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@richylyq](https://discuss.elastic.co/u/richylyq)\
**Post date:** [July 22, 2020, 6:46am UTC](https://discuss.elastic.co/t/painless-scripting/242139/1 "2020-07-22T06:46:49Z")

</div>

Hi,

Just to check, i am unable to use another scripted field in the new scripted field that i am trying to create when i want to derive some other information with the scripted field previously created?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 22, 2020, 7:22am UTC](https://discuss.elastic.co/t/painless-scripting/242139/2 "2020-07-22T07:22:34Z")

</div>

Yes, I do not think that is possible.

---

<div class="post-metadata">

**Author:** ![richylyq](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@richylyq](https://discuss.elastic.co/u/richylyq)\
**Post date:** [July 22, 2020, 7:54am UTC](https://discuss.elastic.co/t/painless-scripting/242139/3 "2020-07-22T07:54:59Z")

</div>

due to the fact that both of them will be running concurrently to produce the results in the scripted field ?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 19, 2020, 7:55am UTC](https://discuss.elastic.co/t/painless-scripting/242139/4 "2020-08-19T07:55:09Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
