How to call a Survey using a UI Action Button
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2023 04:21 AM
Hi everyone, how are you?!
I want a Search to be called by a UI Action Button (print_2), but I don't understand how to call it within the Script (print_3).
Script inside UI Action Button:
var state = current.getValue('state');
current.setValue('assigned_to', gs.getUserID());
if (current.assignment_group.getDisplayValue() == 'Oper - IN')
current.setValue('state', '104');
else
current.setValue('state', '105');
current.update();
action.setRedirectURL(current);
Note: Every time the user clicks on the Button, a Search will appear.
I looked here in the community, but I didn't find a similar question.
Does anyone have any suggestions?! Thank you very much
0 REPLIES 0