Business Rule in VBS is returning null value
Summary:
Hello All,
I developed a default Business Rule in VBS but is returning null value while trying to default position dff into req dff. I am sure I am missing some linkage.
@Danny Cusnir-Oracle Could you please have a look? This rule is on Create Job Requisition Page.
Content (please ensure you mask any confidential information):
/* eslint-disable dot-notation */
define([], () => {
'use strict';
/**
* @param {object} context
* @return {string}
*/
function getDetailsRequisitionDFFWorkMonth(context) {
const { $objectContext, $fields, $modules, $value } = context;
// Safely get the value of workMonth from the position's positionsDFF object
let positionWorkMonth = $fields.RecruitingJobRequisition.position.positionsDFF.workMonth.$value() || null;
// Return the value directly (not wrapped in an object)
Tagged:
0