Business rule Not Working to Default a DFF value based on Department selected on Change Assignment — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

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;

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!