
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2019 02:03 PM
I have 2 custom tables. Table 1 gets most of its data from fields that need to be field out on certain incidents and requests. It gets other data from table 2 based on a rule number field lookup after insert into table 1. If the rule number does not exist in table 2 I set a variable called has error to true on table 1. At the end of the month a user with access will go into table 2 and add the info for the missing rule number. I would then like to have a UI action on table at the list level called fix errors that will only display at the top of the list if at least one record in the list has the field has error is true. When they click on it, it will go thought each record where has error is true and re-due lookup on the record. I has able to do this at the record level with a form button but I'm not sure how do do this at the list level.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2019 12:36 AM
Have you ticked the box(es) of the records on which you want to run the UI action? You have to tell it which records you want it to run on. Create a filtered list of records where u_has_error is true and tick the select all box then you should be able to run the UI action on all selected records.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2019 10:28 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2019 10:33 AM
Ok so we have one part of the fix where if you set the filter have error = true and only show the records that meet that condition then the UI acation with the condition current.u_has_error == true show in the list. The main problem is that when I click on it I get a message that "No record selected" when I click on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2019 10:42 AM
Ok so if I manually select the record by checking the box next to them I do not get an error. Is there any way to get around this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2019 12:37 AM
You could remove the condition and in the script run a glide record to return all the records where has error is true, that should work but for that sort of thing i would normally use a fix script.