General Technical Discussions for Service

Get Involved. Join the Conversation.

Topic

    vijay kalidasan
    Adding user defined function to CPM
    Topic posted September 27, 2017 by vijay kalidasanBronze Medal: 1,250+ Points 
    78 Views, 1 Comment
    Title:
    Adding user defined function to CPM
    Content:

    Hi All,

    I have a CPM that works on create of an object record.

    I want to include a user defined function to the CPM. I have  declared and defined a function CPM but while executing it shows the function is not defined .

     

    Function name : updatereservation.

     

    Version:
    Service cloud
    Code Snippet:

    Comment

     

    • Suresh Thirukoti

      We do the following way...static way......may be there are other ways to achieve .............

      Function Call

       self::PublishVersion($answer, $version);

      Called Function

      public static function PublishVersion($answer, $version)
          {

        ............................

          }

      ~Suresh