Function decodeSalesforceId

  • Decodes a salesforce ID into its parts. Returns undefined if the ID is not a valid Salesforce ID.

    Parameters

    • id: string

      ID to decode into parts

    Returns undefined | {
        caseChecksum: string;
        instanceId: string;
        objectPrefix: string;
        recordId: string;
    }