We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Customizing Edit button function in Mobile App Builder

SujanD345956992
Tera Contributor

I have created the list experience in Launcher screen. On the record screen, I have created the new data parameter and UI parameter for Edit button to be able to be edited by user.

But when I try to update or write the value and submit it, I am encountering with the below error after submission and the data is not updating in the field.
Help me with this to figure out!

 

shared image.jpg

2 REPLIES 2

Matthew_13
Mega Sage

Hi My Friend,

In almost every case I have seen its one of these:

  • The update action isnt getting the right record (sys_id/table) from your new data/UI parameters, so it tries to save with no record context.

  • The user can see the field but cant write to it ACL / field ACL.

  • A Business Rule / Data Policy / Flow is blocking the update and Mobile just reports it as Could not execute the action.

What I say do next basic quicky checks:

  1. Try editing the same field on the same record in the normal platform UI as that user.

    • If it fails there too → its ACL or server-side logic.

  2. After reproducing in Mobile, go to System Logs → All and look at the exact timestamp — you’ll usually see the real error access denied, mandatory field, BR abort, etc,,,,

  3. In UI Builder, verify your “Update record” action is using the record’s sys_id from the record data resource not a display value / blank parameter.

Most times the fix has been for me either: bind the action to the correct sys_id, or grant write access to that field/table for the user.

 

@SujanD345956992 - if help you answer; Please mark Solution Accepted and Thumbs Up

MJG

Matthew_13
Mega Sage

@SujanD345956992 - Hopefully I help you my friend

MJG