How can we update and save the updated record back to database without using any UI or flow action or flow.

We have to fetch a single record from the data type and after fetching we have to update it and save back to the database.And all this needs to be done by saveable datapage.No UI or flow or flow action is involved.

For fetching the record we can give the source as Lookup but what should be the saveplan so that the fetched record can be updated and saved back to the data type?

@TanyaS58

The same lookup will also work for updating back to the data type. While saving, before the save datapage step, add a property set on the d page as step page where you have to set the new updated values, keeping in mind to set primary key as the actual one from the data type. This will enable the data page to recognize the instance and update it in the table.

@SohamM95 so in saveplan i need to give the option for an activity and then write the logic to update the record and save iit back to the data type?

@TanyaS58

Yes, use the save-datapage method.