ProblemContext: {
    id: number;
    limetype: string;
}

Links a problem to a specific LimeObject.

When a problem is related to a specific business object (e.g., a contact whose email bounced, or a deal that failed to sync), the context provides the link to that object. This enables:

  • Navigating from the problem to the related object
  • Showing problems when viewing a specific object
  • Filtering problems by related object type or instance

Example

Problem linked to a specific contact

const problem: Problem = {
id: 'email-789',
providerId: 'email-integration',
type: 'delivery-failed',
description: 'Email bounced - invalid address',
createdAt: new Date().toISOString(),
context: {
limetype: 'contact',
id: 12345
}
};

See

Type declaration

  • id: number

    The id of the specific object instance

  • limetype: string

    The limetype of the related object (e.g., 'contact', 'deal', 'company')