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 fire Notification on based on Value change in Service centre?

Summary:

Hi @Edson Junior, Oracle,

In Service Request Edit Page, We have on Generate_otp_c field which is of checkbox type will return true and false values.

For that, I have written javascript as below. at Service App UI Level but it didn't work.

We want to call generateOTP function on field change and also want to fire notification i,e OTP sent successfully.

if (fieldChange.hasOwnProperty('ServiceRequest.GenerateOTP_c'))

{

let otp = fieldChange['ServiceRequest.GenerateOTP_c'].newValue;
if(otp=='true')
{
console.log("OTP Generated--->"+ generateOTP());
}

function generateOTP() { 

// Declare a digits variable
// which stores all digits
let digits = '0123456789';

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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