I am trying to create a custom action that would ask for user input input in a popup before moving on and then store that value in a text field on the record. Seemed like an easy thing. I use the a prompt function and then I have a varialbe I can pass. Works like a champ in Suiteflow but I am trying to create this as a custom action I can use in multiple places. I keep getting the error Reference Error: "prompt" is not defined. Below is the portion of script I use. Any help would be appreciated. Oh and I think prompt would make a great standard action will probally look for or file an enhancement request for this.
var reject = prompt('Please enter your reason for rejection','');