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 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)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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