# Prompt user for information from within a script

**URL:** <https://community.fibery.io/t/prompt-user-for-information-from-within-a-script/3808>\
**Category:** Get Help\
**Created:** [January 15, 2023, 2:04pm UTC](https://community.fibery.io/t/prompt-user-for-information-from-within-a-script/3808 "2023-01-15T14:04:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aoe](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/aoe/32/6018_2.png) [@aoe](https://community.fibery.io/u/aoe)\
**Post date:** [January 15, 2023, 2:04pm UTC](https://community.fibery.io/t/prompt-user-for-information-from-within-a-script/3808/1 "2023-01-15T14:04:55Z")

</div>

I have a button that duplicates an entity type (`Process`) and its children (also `Process`, self referenced) to another entity type (`Task`). It also copies document data and assigns the newly created `Tasks` to the current user.

Everything is fine so far. What I’m looking for is a way to prompt the user to assign the newly created `Tasks` to a `Project`, much like the prompt that exists today. Only done programmatically.

1. Is it possible to prompt the user for information from within a script?

![image](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/d/d29a1e2d7f263a17ef0fe665ccebbe054dcdab8b.png)

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [January 15, 2023, 8:15pm UTC](https://community.fibery.io/t/prompt-user-for-information-from-within-a-script/3808/2 "2023-01-15T20:15:06Z")

</div>

It isn’t possible.  
But I wonder why you need to use a script in the first place.  
Is it not possible to achieve what you want with the standard no-code actions?

If not, then I suggest a combination. Use the ‘update’ action to request a value from the user, and then use this value in your script.

---

<div class="post-metadata">

**Author:** ![aoe](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/aoe/32/6018_2.png) [@aoe](https://community.fibery.io/u/aoe)\
**Post date:** [January 15, 2023, 8:46pm UTC](https://community.fibery.io/t/prompt-user-for-information-from-within-a-script/3808/3 "2023-01-15T20:46:56Z")

</div>

I’m probably thinking about this the wrong way.

But I thought I could/wanted do this without connecting the `Process` entity to the `Project`/`Task` entities since they don’t have a any other connection use cases other than this scenario (copy Process to Tasks and connect Tasks to Project. And that this way would be “cleaner”.

I’ll try with creating a relation between the entities and then hiding them. Thanks!

---

<div class="post-metadata">

**Author:** ![Matt\_Blais](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/matt_blais/32/1464_2.png) [@Matt\_Blais](https://community.fibery.io/u/Matt_Blais)\
**Post date:** [January 15, 2023, 9:56pm UTC](https://community.fibery.io/t/prompt-user-for-information-from-within-a-script/3808/4 "2023-01-15T21:56:08Z")

</div>

RELATED: [Form Response - Post Submit Options - #2 by Matt\_Blais](https://community.fibery.io/t/form-response-post-submit-options/3752/2)
