Integrations and APIs for Service

Get Involved. Join the Conversation.

Posts

  • 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

  • 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.

  • Jhamir Castiblanco
    Set task notes field using Connect PHP APIAnswered25.0
    Topic posted August 26, 2019 by Jhamir CastiblancoGreen Ribbon: 100+ Points, tagged Connect PHP, Custom Process Models - CPMs 
    Title:
    Set task notes field using Connect PHP API
    Content:

    Hi experts,

    I need your help. I want to set the Notes standard field that is displayed on the Task workspace using Connect PHP API but I cant find it. I was looking for it in the Connect PHP documentation, but I wasn't abble to find it's reference. I know this object have a relationship with Notes object, but i want to know if it's possible to set this field programmatically.

    Thanks in advance.

    Version:
    v1.3
    Image:
  • 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:
  • Sreedhar Loorthu
    How to use CURLFile() with File Attachment of...15.0
    Topic posted June 10, 2019 by Sreedhar Loorthu, tagged Connect PHP, Custom Process Models - CPMs, REST 
    Title:
    How to use CURLFile() with File Attachment of Incident
    Summary:
    Fetch File Attachment from Incident and Pass it to CURLFile() function using PHP
    Content:
    As part of Integration, I need to pass an image file to REST API. 
    It was recommended to use CURLFile('') function for assigning file.
    So, I need to get the file from a particular Incident's FileAttachment and assign it in JSON using PHP.
    Find the bleow sample code for CURLOPT_POSTFIELDS.
     
    CURLOPT_POSTFIELDS:
     
    array('file'=> new CURLFILE('imagefile.jpg'),
      'method' => 'method_name',
      'api_key' => 'XXXXXXXAPIKEYXXXXXXX',
      'body' => '{
    "to":"to_number",
    "type": "image", 
    "image" : {
    "caption" : "Image File"
    },
    }',
    'from' => 'from_number',
    'format' => 'json')
     
     
    How to get the file from Incident and pass it to CURLFILE('') function?
  • Kelvin Chung
    Detect user response incident email and trigger CPM PHP...35.0
    Topic posted December 21, 2018 by Kelvin ChungGreen Ribbon: 100+ Points, tagged Connect PHP, Custom Process Models - CPMs, SOAP 
    Title:
    Detect user response incident email and trigger CPM PHP curl to call web service
    Summary:
    Tigger PHP c
    Content:

    I am new to RNT and try to detect user response incident email and trigger CPM  to call web service. I am using PHP to get the change in an incident when user response email in the thread automatically without customer service representation involves by checking the old and new thread to see if there is any change. See code below. I already verify curl_exec() works for soap request on my service.

    Q1) Do you think above will work to detect user reply incident email?

    Q2) I use Execute Async option, will above automatic retry if curl_exec() fail to connect remote server?

    I can only test in debugging and not able to test in deploy. That's why I would like to verify before sending the code to deployment.

    I appreciate any help.

     

     

     

     

    Version:
    August 2017
    Code Snippet:
  • Baljeet Singh
    REST API Call Limit Per Day1
    Topic posted September 18, 2019 by Baljeet SinghRed Ribbon: 250+ Points, tagged Connect PHP, Custom Process Models - CPMs, REST, SOAP 
    Title:
    REST API Call Limit Per Day
    Summary:
    Limit to call different REST API for different end point
    Content:

    Hi,

    I am curious to know the limit of REST API call per day to service cloud. How many times we can call REST API endpoint for different objects i.e. Incident, Contact, Organization etc. We have requirement where volume of incident creation is 3 Millions per year. We have integrated OSvC with third party system. Every time incident is create in OSvC we need to call REST API end point to sync data with third party software but volume of call is more then we expected initially.  

    I believe there is per day REST API call limit.

    Does anyone knows API limits per minute , per day & number of transactions ?

    Appreciate your support

    Baljeet Singh

     

    Version:
    Oracle Service Cloud 19 B
  • Bryan Scarborough
    Process Designer Error2
    Topic posted August 27, 2019 by Bryan ScarboroughBlue Ribbon: 750+ Points, tagged Connect PHP, Custom Process Models - CPMs 
    Title:
    Process Designer Error
    Content:

    Hello, 

    My company want to implement a solution that will be able to page our On Call techs from RightNow.  We are doing this by sending an email from RightNow to the paging company and that is working.  They also want to implement logging around this in RightNow.

    My thought was to implement a Custom Object with the Date/Time and the person triggering the page to the On-Call tech.  I was able to create the Custom Object, but I do not see a way to interact with it from the Business Rules. 

    From a previous post it was recommended that I use the Process Designer, which I have been trying to get setup.  Unfortunately, I have not found any full and functional examples in the documentation.

    I have include my current code, but when I try to test it I am getting this error "Object Event Handler create_contact\create_contact does not define class create_contact!".  However, when I setup the class I get the same error.  Can someone let me know what needs to be done to fix this, or give me a working example that I can work with.

    If there is another way to accomplish what I am looking to do, I am open to other ideas.

    Thank you

    Version:
    18D
    Code Snippet:
  • Mike
    OOO_AcceleratorAnswered1
    Topic posted August 7, 2019 by MikeBronze Medal: 1,250+ Points, tagged Custom Process Models - CPMs 
    Title:
    OOO_Accelerator
    Summary:
    OOO_Accelerator not working in BUI
    Content:

    Hi All, I've implemented the OOO accelerator and plugins. In the .NET Console it works fine. However If I log in to the BUI I don't see the OOO Accelerator plugin ? Does anyone know if this is expected behavior ?

    Version:
    18A

Filter by Date

< < September 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          

Filter by Type