Posts

Posts

  • Nigel Oliver
    Returning the Category Parents ID's in PHP API2
    Topic posted May 9, 2019 by Nigel OliverBronze Medal: 1,250+ Points, tagged Connect PHP, Custom Process Models - CPMs in B2C Service > Integrations and APIs for Service public
    Title:
    Returning the Category Parents ID's in PHP API
    Summary:
    How to return the Parents ID of Category in PHP API
    Content:

    Hi All

    Ok so we are returning the Category ID's in PHP API By using the following:

    $catID = $incident->Category->ID;

    We are now trying to return the Category Parents ID as well but cant seem to figure it out, we have tried the following but get "cant return property of an object".

    $parCatID = £incident->Category->Parents->ID;

    Does anyone know the correct syntax ?

    Thanks!

    Nigel

    Version:
    18C
  • Manish Kumar
    OSvC capability to read messages from a message queue like...
    Topic posted May 3, 2019 by Manish KumarGreen Ribbon: 100+ Points, tagged Connect PHP, Custom Process Models - CPMs, REST, SOAP in B2C Service > Integrations and APIs for Service public
    Title:
    OSvC capability to read messages from a message queue like JMS or IBM MQ
    Summary:
    Messaging Queue setup in OSvC
    Content:

    Hello Guys,

    We have a requirement to read messages from a queue unlike directly calling a web service.

    The message will be posted in a queue (e.x. JMS queue, IBM MQ). Does Oracle Service Cloud have the capability to read such queues and process the request?

    I have done the setup between Siebel CRM and IBM MQ, however I do not see any documentation to setup OSvC to any Messaging Queue.

    Any information will be helpful.

    Thanks in advance.

  • Nicolas Almarza
    Random assignment15.0
    Topic posted April 29, 2019 by Nicolas Almarza, tagged Connect PHP in B2C Service > Integrations and APIs for Service public
    Title:
    Random assignment
    Summary:
    how to assign a random agent of a group through PHP code.
    Content:

    Hello, I need information on how to assign a random agent of a group through PHP code. What I want to do is that when a button is clicked, the queue must change and an agent of that queue must be assigned. Please help me with information on how to assign an agent of a group through PHP. The code bit is the following: $ incident-> AssignedTo-> Account This piece of code allows searching and finding the value that contains the "Assigned" field of the object "Account". What I need is to assign to that field a random agent from the queue it is in. Thank you

    Version:
    Oracle Service Cloud (RightNow) 18D
  • Faizan Basit
    URGENT - Reference Required : RightNow Service Integration...3
    Topic posted April 20, 2019 by Faizan Basit, tagged Connect PHP, Custom Process Models - CPMs, REST, SOAP in B2C Service > Integrations and APIs for Service public
    Title:
    URGENT - Reference Required : RightNow Service Integration with retail POS
    Summary:
    Integration reference required for deal closure - compliance requirement
    Content:

    Hi team,

    I urgently need a reference of RightNow integration with retail POS. Our closure is dependent on this.

    Customer is a large retailer and uses Microsoft Dynamics for POS.

    Customer is concerned how customer support agent will be able to check customer purchase/ return history.

    PLEASE HELP!

    Version:
    latest
  • Baljeet Singh
    Failed To Run Cron/Custom Scripts on Production Site5
    Topic posted April 15, 2019 by Baljeet SinghRed Ribbon: 250+ Points, tagged Connect PHP, REST, SOAP in B2C Service > Integrations and APIs for Service public
    Title:
    Failed To Run Cron/Custom Scripts on Production Site
    Summary:
    Failed to run custom PHP scripts for schedule report
    Content:

    Hi,

    We have business requirement to run cron job which will fetch records from third party software and save records in OSvC. As we know cost is associated if we set up cron job on Oracle server. We have work around this problem to use Custom Scripts (Under level tab in custom report) and schedule report for specific internal of time. 

    I was able to achieve objective by creating custom PHP script and included in custom scripts in initialization tab. Please find attached the screenshot. I implemented the PHP script on test instance and got expected result but I could not able to replicate the same scenario on production site. 

    In Production Site, It works only when I manually run the custom report and got expected result. It seems that Custom Scripts is failed to call custom PHP file (included in Initialization tab) when run automatically (via Scheduling)  I have already given report permissions. Both instances has Reportgen utility enabled and working good.

    On test instance, it is working fine but failed to run on production site. Both instances are of same version (Aug 2017).  I have included my code in code snippet. Any idea

    Am I missing any config settings ?

    Thanks!!

    Baljeet Singh

     

    Version:
    Oracle Service Cloud August 2017
    Image:
    Code Snippet:
  • Saji Mathew
    ConnectPHP Error1
    Topic posted April 11, 2019 by Saji Mathew, tagged Connect PHP, Custom Process Models - CPMs in B2C Service > Integrations and APIs for Service public
    Title:
    ConnectPHP Error
    Summary:
    Not enough space for new variable
    Content:

    Hi Team,

    I'm trying to create variables (to keep answer detail page url)  with custom script, but after creating 700 record(s) get created the script is throwing an error which says "Not enough space for new variable" . Anybody knows the reason behind this error.

    As of now I have 3333 variable(s) in variable object. After I got this error, I tried to create variable from console, and I could able to create .

    Any help is appreciated.

     

    RightNow\Connect\v1_2\ConnectAPIErrorFatal Object
    (
        [message:protected] => Cannot save/update: Variable(ID=0): 
    Application Error
     Description: Not enough space for new variable, name: ANSWER_4285
    
        [string:Exception:private] => 
        [code:protected] => 7
        [file:protected] => /cgi-bin/wd_en.cfg/scripts/custom/variable.php
        [line:protected] => 2
        [trace:Exception:private] => Array
            (
                [0] => Array
                    (
                        [file] => /cgi-bin/wd_en.cfg/scripts/custom/variable.php
                        [line] => 2
                        [function] => save
                        [class] => RightNow\Connect\v1_2\RNObject
                        [type] => ->
                        [args] => Array
                            (
                                [0] => 196608
                            )
    
                    )
    
                [1] => Array
                    (
                        [file] => /cgi-bin/wd_en.cfg/scripts/custom/variable.php
                        [line] => 2
                        [function] => createAnswerVariable
                        [class] => answerVariable
                        [type] => ->
                        [args] => Array
                            (
                            )
    
                    )
    
                [2] => Array
                    (
                        [file] => /cgi-bin/wd_en.cfg/scripts/custom/variable.php
                        [line] => 2
                        [function] => performActionOnVariable
                        [class] => answerVariable
                        [type] => ->
                        [args] => Array
                            (
                            )
    
                    )
    
  • Andy Townshend
    Update IncidentQueue Name25.0
    Topic posted April 4, 2019 by Andy TownshendSilver Medal: 2,000+ Points, tagged Connect PHP, REST in B2C Service > Integrations and APIs for Service public
    Title:
    Update IncidentQueue Name
    Summary:
    Is it possible to rename queues outside of the agent console?
    Content:

    I am looking to create a tool that allows our agents to log into and perform various configuration changes. This is to avoid giving a profile blanket access to all of the configuration permissions, but still allowing them to perform certain actions.

     

    I am able to pull a list of all our Queue names by using a RNCPHP\ROQL::query on the IncidentQueue object. However, I do not see any documentation about updating/saving to this object. 

    I have also located the same records using a REST call to /services/rest/connect/v1.4/namedIDs/incidents/queue/, but this seems to only support GET and not PATCH.

     

    Is there a way to overwrite a queue name using these or other methods?

     

    Thanks!

    Version:
    Oracle Service Cloud 18B
  • santhosh xavier
    Documentation needs proof reading - Bulk delete sample code13.0
    Topic posted March 22, 2019 by santhosh xavierBronze Medal: 1,250+ Points, tagged Connect PHP in B2C Service > Integrations and APIs for Service public
    Title:
    Documentation needs proof reading - Bulk delete sample code
    Version:
    18D
  • Kelvin Chung
    Check if Custom Object update from SOAP or from Agent...1
    Topic posted February 27, 2019 by Kelvin ChungGreen Ribbon: 100+ Points, tagged Connect PHP, Custom Process Models - CPMs, SOAP in B2C Service > Integrations and APIs for Service public
    Title:
    Check if Custom Object update from SOAP or from Agent Desktop in CPM
    Summary:
    Check if Custom Object update from SOAP or from Agent Desktop in CPM
    Content:

    Hi 

    Quick questions,

    (1) Is there a way to find out if Custom Object update from SOAP or from Agent Desktop in CPM in ActionUpdate ?

    (2) Is there a way to reject  RNCPM\ActionCreate of custom object in CPM script beside calling the object destroy() method ?

    Thanks!

    - Kelvin

     

     

    Version:
    August 2017
  • Bruno Morgado
    Integration between Rightnow and Eloqua1
    Topic posted February 25, 2019 by Bruno Morgado, tagged Connect PHP, Custom Process Models - CPMs, REST, SOAP in B2C Service > Integrations and APIs for Service public
    Title:
    Integration between Rightnow and Eloqua
    Summary:
    Integrating Rightnow with Eloqua without ICS
    Content:

    I'm looking foward to integrate Rightnow with Eloqua but without using an integrator like an ICS.

    Wich ways out do I have?

    Version:
    18D