EnqueuedPosting Class

Contains the enqueue result for one recruitment posting ID after candidate lead generation is requested.

Namespace 

rcrt_cmpn

Special Access Rules 

This class is available in orgs that have the Talent Recruitment Management Specialist Add-on and to users with the Talent Recruitment Management Specialist Access permission set.

EnqueuedPosting Constructors 

The following are constructors for EnqueuedPosting.

EnqueuedPosting() 

Creates an instance of the rcrt_cmpn.EnqueuedPosting class.

Signature 

public EnqueuedPosting()

EnqueuedPosting Properties 

The following are properties for EnqueuedPosting.

  • errorMessage

    Why the posting wasn’t enqueued. Returned when status is SKIPPED or FAILED.

  • mqMessageId

    The message ID of the enqueued lead-generation request. Returned when status is ENQUEUED.

  • recruitmentPostingId

    The recruitment posting ID from the request.

  • status

    The outcome of the enqueue attempt for the recruitment posting.

errorMessage 

Why the posting wasn’t enqueued. Returned when status is SKIPPED or FAILED.

Signature 

public String errorMessage {get; set;}

Property Value 

Type: String

mqMessageId 

The message ID of the enqueued lead-generation request. Returned when status is ENQUEUED.

Signature 

public String mqMessageId {get; set;}

Property Value 

Type: String

recruitmentPostingId 

The recruitment posting ID from the request.

Signature 

public String recruitmentPostingId {get; set;}

Property Value 

Type: String

status 

The outcome of the enqueue attempt for the recruitment posting.

Valid values:

  • ENQUEUED—The posting was enqueued. Lead generation continues asynchronously.
  • SKIPPED—The posting wasn’t enqueued because it generated leads in the last 24 hours.
  • FAILED—The posting couldn’t be enqueued.

Signature 

public String status {get; set;}

Property Value 

Type: String