Unable to lock the record while record is send for approval process in skuid

There are a number of ways you can do this.

I’d suggest that you apply conditional rendering to the detail page of your record. You can do that without writing any code…

How to do this?

  1. Create a model that gets the last approval instance, and inclues the status field. In the advanced tab of the model only load 1 record and order by “CreateDate DESC” so that you get the last approval instance record.

  2. Apply conditional rendering to a page title element so that it only shows if that status field is Pending.

In that page title element say somthing like “This is Pending - Do not make changes”

You could also conditionally turn off all the field editors where data can be entered, or replace them with field editors where the data is all in “read only mode”