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

How to Access Service Request Record Values from Action Chains in Redwood UI

edited 8:26AM in Fusion Service

Summary:
Unable to Retrieve Field Values Using getFieldValue() in VBS Action Chains on Redwood Service Request Details Page

Content (please ensure you mask any confidential information):

Hello Experts,

We are working with Oracle Fusion Service Redwood pages and attempting to retrieve Service Request field values from a VBS Action Chain.

Requirement

Our goal is to access field values on the Service Request Details page so that we can implement additional conditional logic within our custom action chains.

Page Configuration

Path:

CX Service UI Extension App  > service  > ec  > sr  > details

Action Chain Code

JavaScript
define([ 'vb/action/actionChain', 'vb/action/actions', 'vb/action/actionUtils',], ( ActionChain, Actions, ActionUtils) => { 'use strict';  class vbEnterListener2 extends ActionChain {  async run(context) { const { $page, $flow, $application, $base, $extension, $constants, $variables, $modules } = context;  const getFieldResult = await $application?.modules?.uiEventsFramework?.getFieldValue('ServiceRequest.Title');  console.log("Action Chain SR Details Page.."); console.log("Title: " + getFieldResult); } }  return vbEnterListener2;});

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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