getCaseIdFromEmailThreadId(emailThreadId)

Returns the case ID corresponding to the specified email thread ID.

Signature

public static ID getCaseIdFromEmailThreadId(String emailThreadId)

Parameters

emailThreadId
Type: String

Return Value

Type: ID

Usage

The emailThreadId argument should have the following format: _00Dxx1gEW._500xxYktg. Other formats, such as ref:_00Dxx1gEW._500xxYktl:ref and [ref:_00Dxx1gEW._500xxYktl:ref], are invalid.

Previous
Next