g_form.modified does not work in agent workspace Descriptiong_form.modified does not work in agent workspaceSteps to Reproduce 1. Go to any Madrid Patch 4.2. Go to UI Action resolve on table incident3. Put a condition like below in line number 2 in script sectionif(g_form.modified){alert(g_form.modified + " Platform ");4. Put the same condition in Workspace client script5. Now go to any open incident record and change anyhting on the form (like short description)6. click on the ui action resolve.7. Notice that the alert comes up8. Do the same step in agent workspace and notice that there is no alert coming up.P.S : I have created a small video for more detailed information. This is still valid for Orlando.Workaround At this time there is no exposed APIs on g_form to check if the form has been modified. This is on purpose. Please open a feature request with product management to request the addition of this API. This problem needs to be addressed in a future version.Related Problem: PRB1352275