For more information, please refer to this announcement explaining best practices for getting answers to questions.
How to set DFF fields to null value in Worker Assignment from a change in Employment Contract type?
Summary:
Hi everyone,
we are trying to make an autocomplete rule that sets to null values DFF fields in Employment details if the previous Contract Type is changed to a specific new value.
For example: If the previous contract type is in "Others" and the new Contract Type is changed to "OpenEnded" then set the DFF fields in the Employment Details to null values.
I've tried using Object default Rule Type on Worker Assignment but I'm having problem to link it to Worker Employment Contract and I also have troubles on retrieving the previous contract type of the person.
I've also tried to make the rule from Worker Employment Contract using the Field Validation rule type to have the previous contract field, but I can't set the DFF fields to null values.