Using the My Oracle Support Portal (MOSC)

MOSC Banner

HOW TO RESTRICT LEARNER TO REQUEST NON CATALOG LEARNING NOT MORE THAN 2 REQUESTS PER YEAR

edited Apr 15, 2026 10:48PM in Using the My Oracle Support Portal (MOSC) 1 commentAnswered

Oracle Fusion Cloud Applications26A

(11.13.26.01.0)Oracle Redwood2601.4.0

Oracle Application Development FrameworkJDEVADF_14.1.2.24.0ADF-REL132601-PROD-BP_GENERIC_260211.1949.S

Oracle Middleware Extensions for ApplicationsATGPF_PT.14C.2601_GENERIC_260206.0522.REL13BP101.5

Database CompatibilityTRUE (REL13BP101.5)

I Tried by this code and put it in action chain then associated with event listeners using visual builder studio enter but nothing happened

define([
'vb/action/actionChain',
'vb/action/actions',
'vb/action/actionUtils',
], (
ActionChain,
Actions,
ActionUtils
) => {
'use strict';

class request_learn extends ActionChain {

/** * @param   {Object} context */async run(context) {  const { $page, $flow, $application } = context;  const result = await Actions.callRest(context, {    endpoint: 'siteHcmExtensionNonCatalogRequest/getall_learnerLearningRecords',    uriParams: {      q: "AssignmentType='ORA_NON_CATALOG' and LearnerId='" + $application.user.personId + "'",    },  });  if (result.body.count >= 2) {    await Actions.fireNotificationEvent(context, {      summary: 'تنبيه: تم تجاوز الحد المسموح',      message: 'لا يمكنك تقديم أكثر من طلبين للتعلم خارج الدليل (Non-Catalog).',      type:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center