Custom Processes

Chat persistence and embedded

I wanted to ask a question about a new functionality I am working on. We would like to embed the RightNow Chat into an iFrame window on our main site. We need the chat to be able to rebuild itself on any pages on our site. I have been reading the Chat.Communicator.js, Chat.Model.js, Chat.Controller.js, and the Chat.UI.js files to understand how the system treats closing the window, disconnections, reconnections.

Unable to update Organisation Custom Fields

Hi All,

We are on Feb 2016 version of Oracle Service Cloud, and have the attached CPM code written which we would like to use to populate the data from one set of custom fields (Office Address) to another set of custom fields (Shipping Address).

But we are unable to achieve the expected result.

Your help would be appreciated.

Regards
Srikanth

Abusable Functions in CP, CPMs, and Custom Scripts

When calling create and update functions from within Customer Portal code, the system requires the use of checks via the RightNow\Libraries\AbuseDetection library method isAbuse(), to ensure the CP endpoint is not under a DOS or similar attack. This is helpful, in theory at least, because it ensures that your CP site is mostly protected from these sorts of attack, but this can cause major headaches when building out more complex solutions. 3 out of 4 scenarios below require some level of workaround, depending on your use-case:

Mobile Field Unique

I am new to this. I want add duplicate check on mobile filed in rightnow console agent desktop.

my logic is to get count something like this SELECT count(CustomFields.c.Mobile) FROM contact WHERE CustomFields.c.Mobile = entered mobile field

if count result is greater then zero than it should throw an error, I need help with code

Async CPM Development and "My Code's Not Updating!"

While developing asynchronous CPMs, you'll notice that when you make a code change, the site logic may or may not update immediately. In fact, sometimes you may run the CPM and it will appear to use your old code, then the next time it will use your new code, then vice-versa! This is due to the fact that Oracle 'caches' the async code in memory

Update a customfield of a Contact

How can i update a customfield of a Contact.

1. $contact->CustomFields->c->camp_nombre (not working).
2. $contact_campana = "UPDATE Contact SET CustomFields.c.camp_name='".$valor1."' WHERE ID = '".$contact_id."'"; (not working)

Test:

Custom Processes Not working properly

Dear Team,

At particular status we are moving data from "incident" to "employee object(Custom object)". It is not working properly. Suppose if we create employee at particular incident status with custom process and try to update the same immediately, it is not working, if we test it after 10 to 15 minutes its working fine but immediately it is not working, we are confusing.

Thanks in Advance

Calling message template in custom process for sending email

Hello All,

I have requirement for sending a email to all contacts subscribed to a particular answer. I need to use a message template exists for sending out this email. Can somebody here tell me how to call an existing message template in a custom process. Any help in this regard will be greatly appreciated.

Thanks,

John

cURL and Async CPMs

CX Version: 

If you are using cURL in an asynchronous CPM to post data to an external endpoint, beware. Calling the \load_curl() method will usually load the cURL library, unless the back-end SPM process that runs your particular instance of the CPM already loaded the library! In this case the CPM will fail, in what appears to be an inconsistently reproducible way.

Get in the habit of wrapping your \load_curl() method like this:

if (!function_exists("\curl_init"))
{
    \load_curl();
}

exemption for duplicate emails

Hi,

We have enabled EGW_DISCARD_DUPLICATE_ENABLED in configuration settings. But we do receive duplicate emails from a government organizations with same subject and body and same time but with different attachments. Is there any way to let these emails into the system without being discarded.

Please let me know

Thanks

Uma

Pages

Zircon - This is a contributing Drupal Theme
Design by WeebPal.