1
0
-1

Hiya,


So we have a number of record types for case creation - how can i create a script for inbound in salesforce to create a new Case of RecordType = "Escalation".  RecordType is a Salesforce object in its own right that is linked to case.


Thanks legends!

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Hi Dave,


      When creating a Case, you can populate the RecordTypeId field with the Id of the RecordType having the Name "Escalation". You must first get that Id, once for all, and hard code it in the incoming script, as part of the new Case data.


      Or I'm totally missing the question...


      Regards,

      Stéphane

        CommentAdd your comment...
      1.  
        1
        0
        -1

        cheers - yeah we tried that but decided we didnt want to hard code.  Did it on the SF side with Apex triggers.  Thanks though - really great confirmation of approach!

          CommentAdd your comment...