Integrations and APIs for Service

Get Involved. Join the Conversation.

Posts

  • Nital Joshi
    Magic method Sleep on CPM script121.0
    Topic posted January 7, 2019 by Nital JoshiRed Ribbon: 250+ Points, tagged Custom Process Models - CPMs 
    Title:
    Magic method Sleep on CPM script
    Summary:
    sleep method is not working in CPM php script
    Content:

    Is there any way to halt execution of CPM (incident_update) for some time until All_Chat report not have the data?

    Sleep(40) not working for me. 

     

    Code Snippet:
  • jraynor
    CURL Certificates in a CPMAnswered75.0
    Topic posted February 11, 2019 by jraynor Silver Medal: 2,000+ Points, tagged Connect PHP, Custom Process Models - CPMs 
    Title:
    CURL Certificates in a CPM
    Summary:
    Need help with a curl error due to lack of certificates in CPM
    Content:

    I have created an asynchronous CPM that uses cURL to call a json web API we have outside of Oracle. The web API is actually hosted as an Azure API, and I am able to successfully reach the API, and get a valid response in Postman with no custom certificates. When I insert the cURL part of the code into the CPM. I get the following error. 

    ---------------------------------------------------
    error setting certificate verify locations:
    CAfile: /etc/pki/tls/certs/ca-bundle.crt
    CApath:none
    ---------------------------------------------------

    Has anyone come across how to resolve this? I do not wish to disable verify peer.

     

  • Seethalakshmi S
    how to store custom text value in date/time custom field75.0
    Topic posted December 13, 2018 by Seethalakshmi SBronze Medal: 1,250+ Points, tagged Connect PHP, Custom Process Models - CPMs 
    Title:
    how to store custom text value in date/time custom field
    Summary:
    Store custom text value in date/time custom field
    Content:

    Hi All,

    In ROQL I have received date/time in string format. So I converted into date/time in (MM:DD:YYYY HH:MM") format.

    After that, I need to store the converted date/time value in "Date/time" datatype custom field.

    While I am trying to store the converted value in date/time datatype field, I am getting error like "Type Mismatch"

    How to resolve this?

    Thanks,

    Seethalakshmi

    Version:
    Version 18C
    Code Snippet:
  • Padma Prabha Varadarajan
    Stop trigger to another CPMAnswered5
    Topic posted June 13, 2019 by Padma Prabha VaradarajanRed Ribbon: 250+ Points, tagged Connect PHP, Custom Process Models - CPMs 
    Title:
    Stop trigger to another CPM
    Summary:
    Suppress save to call another CPM Handler script
    Content:

    Hi,

    We have a script where we are setting a field value in another object and saving it.

    When the save triggers, it is triggering the CPM Handler script associated with the object.

    I don't want the script to be triggered but just update the field and save simply. 

    Tried using save(RNCPHP\RNObject::SuppressAll), But didnt work.

    Kindly suggest a way to overcome this

     

    Thanks

    Padma

    Version:
    18D
  • Padma Prabha Varadarajan
    DateTime field mismatch5
    Topic posted February 25, 2019 by Padma Prabha VaradarajanRed Ribbon: 250+ Points, tagged Connect PHP, Custom Process Models - CPMs 
    Title:
    DateTime field mismatch
    Summary:
    Date field shows different value
    Content:

    Hi,

    We are stamping values in a date field from UI and picking the value from database for other logic calculations.

    In this, date value in UI is one day ahead of the value in ROQL. 

    Please provide us a solution on how to fix this.

     

    Thanks

    Padma

     

    Version:
    Oracle Service Cloud, 18C
  • Vanessa Abelardo Viana Beserra
    Set date and time field in a CPM4
    Topic posted August 5, 2019 by Vanessa Abelardo Viana Beserra, tagged Connect PHP, Custom Process Models - CPMs 
    Title:
    Set date and time field in a CPM
    Content:
    Hi,
    I have a custom process that makes a  logs information. I use the field DATA_FINAL (type: data and time) of object CO \ LOG_LUGGO. I just want to set a date in this field. I did a lot of tests, including setting a fixed date and still can't set it.
     
    My OSvC version is 19B. 
     
    Is there any configuration I should enable to use this? 
     
    Below is a script of how I am trying to set this field in PHP.
     
    Thanks for the help!
    Version:
    19B
    Code Snippet:
  • Lautaro Illescas
    Add an image to a report in a custom process45.0
    Topic posted December 5, 2018 by Lautaro IllescasGreen Ribbon: 100+ Points, tagged Connect PHP, Custom Process Models - CPMs 
    Title:
    Add an image to a report in a custom process
    Content:

    Hi

    We have to execute a report from a custom process, and add to it a signature, wich is received as a PNG from another system. Then send it by mail as an attachment.

     From what we understand, we can easily execute the report from PHP, and we can also easily send it by mail. The problem is that we can't add the bytes of the signature to the report.

    We tried to replace the image dynamically from the report, but we had no success. We also tried to get a report with images from SOAP and REST, to tried to replace it, but we also had no sucess. Is it possible to make an image of the report and overlap the image of the signature? We tried this but we coudn't do it.

    We are open to ideas/suggestions.

    Please let me know if this is possible,

    Thanks.

  • Eric Gottesman
    shareFile adding attachments to every thread item?3
    Topic posted November 27, 2019 by Eric GottesmanBlue Ribbon: 750+ Points, tagged Connect PHP, Custom Process Models - CPMs 
    Title:
    shareFile adding attachments to every thread item?
    Content:

    I am developing a CPM that copies a number of fields from a parent incident to a child incident. I found the "shareFile" functionality, which is great for the attachments. It's working great, except that after the attachments have been copied, the child incident shows the attachments connected to every single thread item. (See attached picture.) If I look at the attachment tab, there are just the two attachments, so it's doing the right thing, except for how it appears to be attached to every thread item.

    Here's the relevant code:

    $incident->FileAttachments = new RNCPHP\FileAttachmentIncidentArray();
     
    for ($i=0$i < count($parentIncident->FileAttachments); $i++) { 
          $incident->FileAttachments->shareFile($parentIncident->FileAttachments[$i]);
    }

    Any ideas?

     

    Version:
    19C
    Image:
    Code Snippet:
  • 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 
    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
  • Chris Rogers
    PHP7 ?35.0
    Topic posted January 21, 2019 by Chris RogersBronze Medal: 1,250+ Points, tagged Connect PHP, Custom Process Models - CPMs 
    Title:
    PHP7 ?
    Summary:
    PHP5.6 is EOL, when is Oracle going to upgrade to 7
    Content:

    Hello

    Now that PHP 5.6 has reached it's end of life (http://php.net/supported-versions.php) and is unsupported by The PHP Group, does anyone know any Oracle plans to upgrade to PHP 7?

    Or does Oracle plan to continue to support PHP 5.6 in house (ie fix any future security issues, etc)?

    Thanks

    Chris

Filter by Date

< < December 2019 > >
S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

Filter by Type