Comments

  • Ruhul Amin

    Hi,

      Our current installation of Oracle service cloud is February 2015. Our Service cloud upgrade plan is in Next February 2017.

      We are planning to upgrade the .Net version to 4.6 now and re-compile the .Net Addins source with framework 4.6.2

      My Question , is our current version support .Net Framework 4.6.2

    Thanks and regards.

    --Ruhul

  • Ruhul Amin

    HI Dietrik,

                  We have a legacy system database( Oracle 10g) .

    In the contact database we want to load some extra data from the external database by custom script.

    Data flow should be like below:

    Oracle database-->Custom script--->Contact WorKspace

    We want to connect to oracle using php function oci_connect() 

    Is there anyway to enable/load this module in RightNow?

    Thanks.

    Ruhul

  • Ruhul Amin

    Thanks a lot Scott.

    Now working.

    Regards.

    Ruhul

  • Ruhul Amin

    Hi,

    My custom script is not running as CPM but will be called on a button press in a "Browser Control". It is just another custom script.
    So what could be the other option to overcome error?

    Thanks and Regards.

    Ruhul

  • Ruhul Amin

    Hi Pramod,

     I searched for the same problem and found this( if I didn't search for the existing one then how I found this?? ) for that reason I posted my problem here.

    Sorry, overlooked @eleep's comment earlier. I should post my question as a new thread. Here is the link

    http://communities.rightnow.com/posts/3f4aa1a954

    My custom script will not run as CPM but will be called on a button press in a "Browser Control". Please follow the new post in the above link to post your comment.

    Thanks.

    Ruhul

      

  • Ruhul Amin

    Hi,

         My RightNow version is Feb 2015 and getting curl_init error.

    So tried using load_curl() and \load_curl(); like below

    \load_curl();
    $curl = curl_init();

    But every time having same error "Fatal error: Call to undefined function load_curl()"

    Anyway,

    How to run custom script in "asynchronous " mode. or  what does it mean "Is the CPM script marked for "asynchronous execution"?" ?

    Please provide a bit explanation or code exmaple

    Thanks a lot.

    Ruhul

  • Ruhul Amin

    Hi,

    Thanks guys for your comments and opinions.
    In my case, .Net as well as Java are used to develop two different client application.
    As per the above discussion and google search, I am concluding my understanding:

    1. DotNet App: Need to upgrade the .net framework version >= 4.6.2 and recompile the source code with the new .net framework version. Additionally, need to check the source code whether the TLS version specifically mentioned in anywhere.

    2. For Java: In the server where my Java application hosted is using java 6. in my source code, TLS version is not hard coded explicitly.
    Due to the other applications(on premise ) dependency, we can't upgrade the java version.

    According to Mohana, I have to upgrade the Java version.
    But from Scott's first answer, it is not clear.
     

    Current Java version running running server  is 6. So is there any way to overcome TLS problem keeping the java version 1.6?

    Thanks.

    --Ruhul

  • Ruhul Amin

    Hi,

         Now I want to send a mail to a group of users.

    I should the email address from a custom field in the incident workspace( a text field which will have the email address in comma separated)

    My new code as below. While testing the email field is not allowing me to add the $email(  pattern Match)

    <code>

            $affecteduser = $incident->CustomFields->c->affecteduser;
            $email_addresses = explode(",", $affecteduser);
            
            // Sending email to all email addresses    
            foreach( $email_addresses as $email  ){
            
                //Creating a new Contact Object
                $contact = new RNCPHP\Contact();
                $contact->Title = "MR.";
                        
                $contact->Name = new RNCPHP\PersonName();
                $contact->Name->First = "Sample_first";
                $contact->Name->Last = "Sample_last";
                
                //add email addresses to Contact
                $contact->Emails = new RNCPHP\EmailArray();
                $contact->Emails[0] = new RNCPHP\Email();
                $contact->Emails[0]->AddressType=new RNCPHP\NamedIDOptList();
                $contact->Emails[0]->AddressType->LookupName = "Email - Primary";
                $contact->Emails[0]->Address = $email;
                
                $contact->save();
                        
                // Mailing ID from the transection email
                $mailingID = 684;
                    
                RNCPHP\Mailing::SendMailingToContact($contact, $incident, (int)$mailingID, false);
                
                // Deleting the newly created contact
                try{
                    if ($contact)
                    {
                        $contact->destroy();
                        
                    }
                
                } catch( Exception $err){
                    echo $err->getMessage();
                }
            
            }

    </code>

     

    Error Message: as attachment

     

  • Ruhul Amin

    Thnaks Barrilito. 

    Now It is working.

    I didn't deploy the object Event Handler.

    Now all Good. You are second to GOD.

    Thanks a lot for your help and Time.

    Regards.

    Ruhul

     

     

  • Ruhul Amin

    Thanks Barrilito.

    I have made the mailing "Lunched" and change the last parameter "false".

    Now, there is no error while testing but IT is not sending email.

    What is way to trace the error? How can I make sure that it is calling while creating a new incident?

     

  • Ruhul Amin

    Hi Barrilito,

                    Thanks for your reply.

    I updated my code and updated the code in the post here also.

    Now, the new error is "Failed: mailing failed: - 100030001"

    What could be the problem?

    Thanks.

  • Ruhul Amin

    Hi Barrilito,

    This is from Oracle service now tutorial. For that reason I am posting here.

    here is the Documentation link

    https://docs.oracle.com/cloud/august2015/servicecs_gs/FAAGS/FAAGS.pdf

     Thanks.

    Ruhul

  • Ruhul Amin

    HI Scott,

    thanks a lot.

    sorry for the mistake. will do so.

     thanks.

  • Ruhul Amin

    Hi Suresh,



    Thanks a lot. I should try that.



    I found another solution and just sharing if anyone need a quick solution.



    https://cloudcustomerconnect.oracle.com/posts/a5d0c684b2#147996



     

  • Ruhul Amin

    Hi Suresh,

    Thanks for your reply. 

    Can you explain me a bit more Or can you help me to find any tutorial/Document for that.

    I am new im RightNow platform So extended help needed.

    Thanks.

    Ruhul