Formula field not refreshing

Hi Gopal. If you’ve added a snippet with those bits of code, and replaced ‘yourmodel’ with the name of your model, then what you’d need to do is add a model action to the source model that triggers the snippet when your source field has changed. By ‘source model’ and ‘source field,’ I mean the model and field that holds the values your model lookup is looking to. Does that make sense?