Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
Event Listener when Incident Private note is added — Cloud Customer Connect
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

Event Listener when Incident Private note is added

Received Response
11
Views
1
Comments

Summary:

Add Event Listener when Private note is added

Content (required):

Hello all,

We have added addFieldValueListener for Thread.Chanel change. Basically when Thread.Channel changes we perform some actions. Here how it looks like:

 extensionProvider.registerWorkspaceExtension(async function (workspaceRecord) {

                    const threadEntry = await workspaceRecord.getCurrentEditedThread("Note", true);

                    threadEntry.addFieldValueListener("Thread.Chanid", async function () {

some actions

}

Problem: this works perfectly however the function getCurrentEditedThread creates a new thread entry when editor loads (Private Note in our case ). We do not wan't this behaviour, since we need associate(user) to have an option and select either it's Private note or Response for customer. Setting workspace Default Thread to No Default did not solve it. I guess code overrides this setting

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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