Mobile app : Scripted action items
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2022 09:58 AM
I am trying to use the fields from input screen in an action item script. I copied the same script in documentation (function WriteBackAction(parm_input, parm_variable, actionResult)
{
//other write-back inputs and variables here
actionResult.addAttachment("attach", "incident", gr.getUniqueValue()); //where "attach" is the input name from above screenshot, and "incident" is the table name
})(parm_input, parm_variable, actionResult);
But I get an error on my system logs -
com.glide.script.RhinoEcmaError: "parm_input" is not defined. sys_sg_write_back_action_item.198ec43547d751903c2261f3636d431f : Line(1) column(0) ==> 1: (function WriteBackAction(parm_input, parm_variable, actionResult) {
2:
3: //other write-back inputs and variables here
4:
The input screen does not launch. Any help on this is much appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2022 10:46 PM
Can You Share Screen Shot.