Update State on opening of form or refresh

Hey
I have a use case where I have to update a state of a form base on other records

so I was expecting something when ever I open a form or refresh a form a piece of code get executed
where I could use my own logic to update a state in database

Regard ,

AFAIK this do not exist as it’s not an action for the record, it’s only an action for the client (form view:show the contents of record in form, refresh: get the modifications on DB)

You have three options, 1) create a button to process the record and check your other records from that process and update your record to the correct state, 2) you need to create some process that is called on the other records which update your record status 3) create a cron job to do all the logic

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.