For more information, please refer to this announcement explaining best practices for getting answers to questions.
Business rule Not Working to Default a DFF value based on Department selected on Change Assignment
Summary:
We have requirement to default a DFF field with 1st five character of the Department selected on the Redwood change Assignment page. We already had the ACR rule written for RUI which is working fine, but now we have inactivated the rule since we will be migrating to Redwood.
We have written the business rule to default the value but this doesn't seems to be working.
Please review the below rule If I am missing anything.
This is code generated for above rule:
/* eslint-disable dot-notation */define([], () => { 'use strict';
/** * Default value expression for employmentAssignments.assignmentsDFF.fanaticsCostingSegment3 * @param {object} context * @return {string} */ function getEmploymentAssignmentsAssignmentsDFFFanaticsCostingSegment3(context) { const { $componentContext, $fields, $modules, $user } = context;