Hi im currently making a custom module and im trying to run a a code using write method based on a certain condition. Im trying to figure out how to write a before and after domain for the code to run.
as you can see there is before update domain and apply on domain. How am i able to achieve this with write method?