- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2016 03:24 AM
Hello,
Is there a way to put a condition for UI action to make the UI action button visible only after the problem is submitted. I have tried to use the state but state is still set to "Open" even if the problem is not yet submitted.
Thanks
Vamsee
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2016 03:30 AM
Hi,
There is a checkbox on Ui action
uncheck this, then UI action will not be shown on new record.
check this, then the UI action will be shown after record is inserted/means on update.
Thanks,
Apurva

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2016 03:28 AM
Hi Vamsee,
Check show update box and uncheck show insert box in UI action for problem table. But deactivate global ui actions like submit on problem table by adding scripts like current.sys_class_name != 'problem'
Thanks,
Sunil Safare
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2016 03:30 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2016 03:36 AM
As Sunil said, unchecking the Show Insert checkbox is the easiest solution.
To do it in the condition you can use !current.isNewRecord()