Hello, how do I get the value of a script field parameter in an aftersubmit script? I keep on getting an error that ReferenceError: "getParameter" is not defined
t
Tyn Guardian
03/16/2021, 10:30 PM
why do you want to get the script parameter after?
p
Phillip
03/16/2021, 10:31 PM
I have a script that I need to use for multiple transaction types and I am trying to pass the transaction type through a parameter. is there a better way to get the transaction type?
b
battk
03/16/2021, 10:37 PM
Share the code
p
Phillip
03/16/2021, 10:45 PM
I changed the code to get the enum value of the transaction and that worked
👍 1
c
Craig
03/16/2021, 11:29 PM
You can look at the record.type (or whatever) then convert that to the record.Type.ENUM for each type of tran