How do I set field values on value change of predefined fields?

Here's how you make dependent fields auto populate when the default or custom field's value changes:

  1. Expose the fields for which you need to set the value in a dynamic form layout.
  2. Navigate to the Create Work order Variables section.
  3. Add an event listener with an action chain to transientCustomerWO(create page)/ NewWoTransient on the Edit page.
  4. Add a condition if the condition to check that the custom property is changed (By comparing $variables.event.oldValue.<Fieldname> !== $variables.event.value. <Fieldname> )
  5. Add an assign variable to set the new value to Field in dynamic form transient variable (transientCustomerWO.<Fieldname> = Value & customerWorkOrders.<Fieldname> = value (create page)/NewWoTransient.<Fieldname> = value & NewWO.<Fieldname>= value (edit page)).