Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all 2504 articles
Browse latest View live

Asynchronous Custom Process Event Handler Retry Functionality (3 Comments)

0
0

Topic by Jonathan Schmalzle

Content

I have a few quesitons on Asynchronous Event Handler retry functionality:

What causes an event handler script to retry?

If a script fails and is queued for retry, will the script continue to run for additional events during that time?

If a script fails the maximum number of times, is the event handler disabled? How can it be re-enabled?

Thanks,

Jonathan

 

Version

November 2013

How to send email from Custom Process (4 Comments)

0
0

Topic by Suresh Kumar T

Hi,

 I have an requirement wherein I need to send Email from PHP Custom Process Script. Is there any default Email facility in RNT or do we need to include the external PHP Libraries?

Custom Process - outgoing connection (2 Comments)

0
0

Topic by Ross Crockett

Content

Hello,

I've managed to configure a custom process to include the NuSOAP library to make a web service call on trigger of an event. I have migrated code from customer portal Model classes that is working fine into the Custom Process. At the moment I am adding a little bit at a time and building on it as it works so the code below isn't the end picture.

Upon testing the client though, the process finishes abruptly with no error in the Process Designer. My output would indicate that it got to the line where it was creating the client and then it just ends. If I check the Logs though, the error logs show this:

Fatal signal '11' received, current errno=11

 Client Type: Console-C#
-- Call Stack ----------------------------------------

-- Raw Post Data ------------------------------------

-- CGI Environment -----------------------------------
REQUEST_URI   : /cgi-bin/[myinterface].cfg/php/xml_api/soap_api.php
SCRIPT_NAME   : /cgi-bin/[myinterface].cfg/php
PATH_INFO     : /xml_api/soap_api.php
REQUEST_METHOD: POST

The apply method is given in the snippet below, i have masked the interface and URLs etc so that isn't the issue. i have provided some code comments too to give some context.

I read that outgoing connections from Custom processes might be blocked from August 2013, and given that we are on Nov 2013 I was wondering if that could be the problem. Could anyone provide some insight?

Thanks

Version

November 2013

Code Block

Cannot save/update: Contact: null while performing update on contact (4 Comments)

0
0

Topic by albert hua

Hi there,

My SOAP WS is returning the following error:

RN Integration RequestErrorFault: "Cannot save/update: Contact(ID=171419): (null) While performing update on Contact"

I have noticed the Person in the database has two records but with different email address. 

Is there a way of letting the WS updating the record instead of failing? 

Cheers,

Albert

 

Error in deserializing body of reply message for operation.

0
0

Topic by Shreyas Pandhari

Content

Hi,

While consuming a third party cloud wsdl using C#, I get an exception: Error in deserializing body of reply message for operation '<operation_name>'.  

InnerException: System.InvalidOperationException
       HResult=-2146233079
       Message=There is an error in XML document (1, 3619).
       Source=System.Xml
       StackTrace:
            at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
            at System.ServiceModel.Dispatcher.XmlSerializerOperationFormatter.DeserializeBody(XmlDictionaryReader reader, MessageVersion version, XmlSerializer serializer, MessagePartDescription returnPart, MessagePartDescriptionCollection bodyParts, Object[] parameters, Boolean isRequest)
       
InnerException: System.FormatException
            HResult=-2146233033
            Message=Input string was not in a correct format.
            Source=mscorlib
            StackTrace:
                 at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
                 at System.Number.ParseInt64(String value, NumberStyles options, NumberFormatInfo numfmt)
                 at System.Int64.Parse(String s, NumberStyles style, IFormatProvider provider)
                 at System.Xml.XmlConvert.ToInt64(String s)
                 at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderOpportunityService.Read58_Opportunity(Boolean isNullable, Boolean checkType)
                 at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderOpportunityService.Read108_getOpportunityResponse()
                 at Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer26.Deserialize(XmlSerializationReader reader)
                 at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
 

As per the investigation so far from my end, .NET client is not able to deserialise the xml response we are getting from the external service. After analysing the incoming response using Fidller tool, it is noticed that deserialization process fails at the empty tags which we are getting from fusion (while using a specific operation). For example, the exception occurs at the empty tags like

<ns3:DescriptionText xsi:nil="true"/>

<ns3:PrimaryContactEmailAddress xsi:nil=”true” />

<ns3:FormattedAddress xsi:nil="true"/>

There is no issue with the tags that do not contain the xsi:nil="true" attribute. As far as known, such tags are not standard xml tags and .NET client is failing to interpret the response structure. 

Is there any way we can control the incoming xml response, remove the unwanted attributes from xml element tag in .NET client and overcome this error? The other application too is a cloud application so manipulating the response like we can do in on-premise application is out of scope.

 

Thanks,

Shreyas 

Version

Feb 14

RightNow Integration with Fusion CRM sales cloud (1 Comment)

0
0

Topic by Sreenivasa Rao

Content

Hi Members..
 
We are planning to integrate RightNow and Fusion. As per RightNow May 2012 Release notes, I got the below ingormation.
 
RightNow CX can now be integrated with Oracle Fusion Sales so that RightNow CX staff
 
members can see existing Fusion Sales opportunities. This provides awareness of Fusion Sales
 
history for those staff members handling incidents to help prioritize issue resolution and
 
identify cross-sell opportunities.
 
 
 
• When a sales account is created in Fusion Sales, an organization is automatically created in RightNow CX.
 
• When a organization account is created in RightNow CX, a sales account is automatically created in Fusion Sales.
 
• RightNow CX staff can view Fusion Sales opportunities in an OBIEE (Oracle Business Intelligence Enterprise Edition) report that displays on a workspace.
 
• Fusion Sales staff can view RightNow CX incidents as an OBIEE report.
 
 
 
But When I check with Fusion team here, they are telling that they are not using OBIEE for reporting as they have the built-in UI as like our RightNow CRM.
 
If that is the case, what URL should I configure in RightNow?
 
Is any body knows more information about this Fusion Integration.......Please post your ideas.
 
Thanks,
 
Sreeni

Version

Nov 2013

trouble updating incident custom field (3 Comments)

0
0

Topic by James Gilbert

Content

When trying to update a custom field on an Incident via the SOAP API I am recieving the following error message:

Could not find property for given key: tracksite
While processing Incident->CustomFields(rng_v1_2::GenericObject)

The field I am trying to update has column name of tracksite and a name of Site Issues, this custom field is a Data Type of Menu.

Currently I am passing the column name value when I instantiate the GenericField object that is sent to the update call...

Version

May 2012

Code Block

RightNow CTI Simulator

0
0

Topic by Chris Bird

Hi,

We currently have a demo environment and would like to build & configure based on inbound telephony.

Is there any built-in functionality which would allow this? I have spotted the CTI add-ins and "CTI Simulator Controller" navigation item but this throws the following error:

The composition produced a single composition error. The root cause is provided below....

1) The component 'Oracle.RightNow.Cti.Simulator.Controller.Views.CtiSimulatorControllerView' does not have a resource identified by the URI '/OracleRightNow.Cti.Simulator.Controller;component/views/ctisimulatorcontrollerview.xaml'.

Resulting in exception, etc. etc.'

Any help would be greatly appreciated.

 

 


ROQL help - get custom field on a custom object (1 Comment)

0
0

Topic by Sumeeth Ambati

Content

Could you please give an idea on how to retrieve a custom field on a custom object using ROQL.

I need to get "BookLong" field from "MyBook" custom object in BookInfo package.

I keep on getting the following error:

Selected column is not an object: BookLong\n

Also, Since I'm only getting a single field as opposed to entire object how do i use it in code

The following code in c# has worked for retrieving custom object

RNObject[] rnObjects = queryObjects[0].RNObjectsResult;

What should I use for just a single field.

Thanks

Sumeeth

Code Block

Implementing virtual assistance in Oracle rightnow (3 Comments)

0
0

Topic by Sanal San

Hi All,

I am new to Oracle RightNow. I would like to know how to implement 'virtual assistance' in RightNow. Can you provide any documents or links that could help me to implement this functionality. Please guide me.

Thanks In Advance.

 

Thanks & Regards,

Sanal Santhosh

Error: Not Allowed: "Cannot perform requested function or action"

0
0

Topic by Prateek Ekhe

Content

 

Hi All,

 

I have created Menu Type Custom Object and added one entry in it from console while creating it. Now when I am trying to access Name field from the connectPHP script it throws me below error:

Not Allowed: "Cannot perform requested function or action"
Error Code: 1

Same code was working on Nov 13 but its not working on Feb 14 instance. I am trying to add new entry to menu only CO using script (connectPHP) and also trying to fetch its not allowing here and end up with same exception while executing save operation.

My idea is push customer data in Menu Only type CO and that should be used in CP and console to populate the list to opt out one selection.

Is there any problem with my code?

 

Thanks

 

Version

Oracle RightNow CX Cloud Service February 2014 (Build 131) SP1

Code Block

Receiving SOAPFaultException: Error in the Username token. (6 Comments)

0
0

Topic by Bharath Duggirala4439

Hi. When I try to post the following SOAP request, I receive, 500 Internal server error.
The SOAP request looks like a valid one to me.

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <Header>
        <ClientInfoHeader xmlns="urn:messages.ws.rightnow.com/v1">
            <AppID>GetMeta Data</AppID>
        </ClientInfoHeader>
        <Security
            xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
            <UsernameToken>
                <Username>username</Username>
                <Password>password</Password>
            </UsernameToken>
        </Security>
    </Header>
    <Body>
        <GetMetaData xmlns="urn:messages.ws.rightnow.com/v1"/>
    </Body>
</Envelope>

Error message:

...Received Http Code:500 from castiron1005.rightnowdemo.com...
SEVERE: SOAP fault: <?xml version="1.0"?>
<SOAP-ENV:Fault xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">wsse:InvalidSecurityToken</faultcode>
<faultstring>Error in the Username token.</faultstring>
<detail><wsse:ProblemSecurityHeader xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">wsse:UsernameToken</wsse:ProblemSecurityHeader>
</detail>
</SOAP-ENV:Fault>
...SEVERE: faultData: <?xml version="1.0"?>
<wsse:ProblemSecurityHeader xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">wsse:UsernameToken</wsse:ProblemSecurityHeader>

When I loaded the RightNow wsdl into SOAP UI and create a sample request, for GetMetaData API call, the only difference I see is the soapenv namepsace prefix in the request. Appreciate any pointers.

Unable to parse XML response returned by cURL in Customer Portal (1 Comment)

0
0

Topic by Shreyas Pandhari

Content

Hi,

I am unable to parse the response received by using cURL. Having tried all the possible ways to parse the xml response, raising this query on the forum.

Even json object returns NULL, when I try to use json_decode($response);

In addition, it seems CP doesn't support the use of DOMDocument object and SimpleXmlElement() classes as I get the Fatal Error: Class not found.

Below is the code snippet in which I am getting a response but there are issues with the response:

1. The response I am getting is flat text response but not xml, I guess we need to convert the response into xml format using methods like simplexml_load_string($response). But this methods are also not supported in CP. CP version is the latest one and RN version is Feb 14. How to convert the response I get using cURL into xml format?

2. json object get null value in it once i start decoding it (please refer to below code snippet for the same.)

I want to retrieve the particular information from the response like OptyId, Name etc. Really appreciate if anyone can respond to resolve this issue.

Thanks,

Shreyas

Version

Feb 14

Code Block

SOAP Update (1 Comment)

0
0

Topic by Bruno Vasconcellos

Hello,

I'm trying to update some Organization fields (vanilla and custom) by XML, but the below code only updates to NAMED_ID (<ns2:GenericFields dataType="NAMED_ID" name="type">) and will not update any subsequent ones. 
In the other words, in this case, only the "cnpj" and "type" fields are updated, the rest don't.

Could someone help me?



XML CODE: 

<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
<ns7:ClientInfoHeader xmlns:ns7="urn:messages.ws.rightnow.com/v1_2" soapenv:mustUnderstand="0">
<ns7:AppID>Basic Update</ns7:AppID>
</ns7:ClientInfoHeader>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" mustUnderstand="1">
<wsse:UsernameToken>
<wsse:Username>xxxxx</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">xxxxxx</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<ns7:Update xmlns:ns7="urn:messages.ws.rightnow.com/v1_2">
<ns7:RNObjects xmlns:ns4="urn:objects.ws.rightnow.com/v1_2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns4:Organization">
<ID xmlns="urn:base.ws.rightnow.com/v1_2" id="14" />
<ns4:CustomFields xmlns:ns2="urn:generic.ws.rightnow.com/v1_2" xsi:type="ns2:GenericObject">
<ns2:GenericFields dataType="OBJECT" name="c">
<ns2:DataValue>
<ns2:ObjectValue xsi:type="ns2:GenericObject">
<ns2:GenericFields dataType="STRING" name="cnpj">
<ns2:DataValue>
<ns2:StringValue>12345</ns2:StringValue>
</ns2:DataValue>
</ns2:GenericFields>
<ns2:GenericFields dataType="NAMED_ID" name="type">
<ns2:DataValue>
<ns2:NamedIDValue><Name xmlns="urn:base.ws.rightnow.com/v1_2">Cliente especial</Name></ns2:NamedIdValue>
</ns2:DataValue>
</ns2:GenericFields>
<ns2:GenericFields dataType="STRING" name="descricao">
<ns2:DataValue>
<ns2:StringValue>Descrição do cliente aqui.</ns2:StringValue>
</ns2:DataValue>
</ns2:GenericFields>
<ns2:GenericFields dataType="STRING" name="telefone">
<ns2:DataValue>
<ns2:StringValue>11999999999</ns2:StringValue>
</ns2:DataValue>
</ns2:GenericFields>
<ns2:GenericFields dataType="STRING" name="fax">
<ns2:DataValue>
<ns2:StringValue>11999999999</ns2:StringValue>
</ns2:DataValue>
</ns2:GenericFields>
<ns2:GenericFields dataType="STRING" name="email">
<ns2:DataValue>
<ns2:StringValue>cliente@cliente.com</ns2:StringValue>
</ns2:DataValue>
</ns2:GenericFields>
</ns2:ObjectValue>
</ns2:DataValue>
</ns2:GenericFields>
</ns4:CustomFields>
<ns4:Name>Nome do cliente aqui</ns4:Name>
</ns7:RNObjects>
<ns7:ProcessingOptions>
<ns7:SuppressExternalEvents>false</ns7:SuppressExternalEvents>
<ns7:SuppressRules>false</ns7:SuppressRules>
</ns7:ProcessingOptions>
</ns7:Update>
</soapenv:Body>
</soapenv:Envelope> 



---------------

RESPONSE IN SOAPUI: 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<n0:UpdateResponse xmlns:n0="urn:messages.ws.rightnow.com/v1_2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
</soapenv:Body>
</soapenv:Envelope>



------

For "Create Request" the problem also occurs. (Same problem).

One similar case on forum without reply: http://communities.rightnow.com/posts/d30470ccc7



Tks.

Bruno Vasconcellos

RightNow application exit/close notification to addin (2 Comments)

0
0

Topic by Dhana

Hi There!

We are developing custom addin for our integration with RightNow agent. I have read through the ADDIN developer guide but could not find a way the our custom addin gets notified when the right now agent application closed / exit.

 

Thanks in advance,

Dhana


ContentPane Ribbon Button to use the RightNow icons

0
0

Topic by Dhana

Content

Hi There!

We are developing a INavigationItem addin on clicking that, it should open the content pane (which again a custom one I am creating). In that content pane I have 3 Ribbon Buttons Save, Save&Close and Refresh, for those three icons would like to use the RightNow standard icons.

- Is it possible to use those icons from Addin?

- If so, how can I get / re-use the icons already existing in Right Now (Image16 and Image32 versions)?

 

Thanks in advance,

Dhana

Code Block

Uncaught exception 'RightNow\Connect\v1_2\ConnectAPIError' (2 Comments)

0
0

Topic by Shreyas Pandhari

Content

Hi,

Getting a type mismatch error (please find attached screenshot) while creating an Opportunity record in TestHarness class of custom process. Code snippet is also provided in the code block.

For opportunity record to be created in RightNow, a contact or an organization needs to be associated with an opportunity. So, I am trying to associate a contact here. Similar thing works with the Incident but not working with Opportunity, as in both the cases we need PrimaryContact to be associated.

It seems there is an issue with the type of contact I am trying to associate, not sure what is the issue. If I try associating an Organization like

$obj->Organization->ID = 7;

Though Organization ID is Allowed on Opportunity Create operation, I get: 

 
Uncaught exception 'RightNow\Connect\v1_2\ConnectAPIError' with message 'Not Allowed: read-only; Organization.ID'.
 
If someone can please help.
 
Thanks,
Shreyas

Version

Feb 14

Code Block

File

CP Error.PNG(26KB)

How to get Report ID(AcId) at runtime. (4 Comments)

0
0

Topic by Ganesh Raju

Hi,

I am using "AutomationContext.RunReport" to generate report , here first argument  is report id(AcId),

how to get report id at runtime.

and i want to list all filters experssion fields and operator in that particular report id(AcId)

at least if have to search report by name it will useful but how/Where to retrieve  it is there any RQL?

 

Forwarding an Incident with Attachments (1 Comment)

0
0

Topic by Reynard Chan

Content

Hi there, is there any way using Connect API's to Forward an incident with its attachments to an email address?

(ie. not using the "Forward" command tool in the Console, but done through one of the API's).

Thanks

Version

February 2013

Updating multiple NAMED_ID only updates first one (2 Comments)

0
0

Topic by Eric Den Hollander

Content

Hi,

I'm trying to create a SOAP request to update custom fields that are of type NAMED_ID for a Contact.

The below code only updates the first NAMED_ID and will not update any subsequent ones. It does not mater which custom field that has a datatype of NAMED_ID, only the first one gets updated.

Just wondering if anyone has any suggestions on how to update multiple custom fields that have a datatype of NAMED_ID.

Thanks,

Eric

Code Block

Viewing all 2504 articles
Browse latest View live




Latest Images