UI Action to update current record and go to next based on order

mmcbride1007
Tera Contributor

I'm trying to make a UI action that will update a record's status to pass/fail and then go to the next record in a list. We're looking for similar functionality to the up/down arrows you get when tabbing through rows in a list but we want to be able to update the record before it goes to the next item. I've tried using two functions that are attached to the OOB actions, gsftSubmit(true) and iterateList() but I haven't found a way to make either of those work. gsftSubmit() just submits the record, and we have no way yet to duplicate the dynamic parts of the iterateList() method. Has anyone found a way to do something like this?

1 ACCEPTED SOLUTION

What we ended up doing to solve this was we updated the record via a GlideAjax call and the value returned from the server was a string that was the URL of our next record, which we then loaded into the current frame.


View solution in original post

5 REPLIES 5

id love to see how you did this, i need to do it too!