UI Action List

Brian Lancaster
Tera Sage

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.

1 ACCEPTED SOLUTION

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.

View solution in original post

13 REPLIES 13

Not for me.  Unless I add a filter to only show records that meet my condition it does not show. Like below.

find_real_file.png

Brian Lancaster
Tera Sage

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.

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?

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.