Task
Represents a business activity such as making a phone call or other to-do items. In the user interface, Task and Event records are collectively referred to as activities.
Task fields related to calls are exclusive to Salesforce CRM Call Center. Also, query(), delete(), and update() aren’t allowed with tasks related to more than one contact in API versions 23.0 and earlier.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort
-
Relationship name: Account
-
Relationship type: relationship
-
Refers to: Account
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort
-
Introduced: API version 54.0
-
Relationship name: ActionCadenceStepTracker
-
Relationship type: relationship
-
Refers to: ActionCadenceStepTracker
- Type: date
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Type: picklist
- Properties: Filter, Group, Nillable, Restricted picklist, Sort
- Introduced: API version 22.0
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 8.0
- Type: int
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 8.0
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 8.0
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Introduced: API version 8.0
- Type: datetime
- Properties: Create, Filter, Nillable, Sort
- Introduced: API version 45.0
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort
-
Introduced: API version 12.0
-
Relationship name: ConnectionReceived
-
Relationship type: relationship
-
Refers to: PartnerNetworkConnection
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort
-
Introduced: API version 12.0
-
Relationship name: ConnectionSent
-
Relationship type: relationship
-
Refers to: PartnerNetworkConnection
- Type: textarea
- Properties: Create, Nillable, Update
- Type: email
- Properties: Filter, Group, Nillable, Sort
-
Type: boolean
-
Properties: Defaulted on create, Filter, Group, Sort
-
Introduced: API version 8.0
-
Default value: false
-
Type: boolean
-
Properties: Defaulted on create, Filter, Group, Sort
-
Default value: false
-
Type: boolean
-
Properties: Defaulted on create, Filter, Group, Sort
-
Introduced: API version 31.0
-
Default value: false
-
Type: boolean
-
Properties: Create, Defaulted on create, Filter, Group, Sort
-
Introduced: API version 16.0
-
Default value: false
-
Type: boolean
-
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Introduced: API version 8.0
-
Default value: false
-
Type: boolean
-
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Default value: false
- Type: phone
- Properties: Filter, Group, Nillable, Sort
- Type: picklist
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort
-
Introduced: API version 16.0
-
Relationship name: RecurrenceActivity
-
Relationship type: relationship
-
Refers to: Task
- Type: int
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 16.0
- Type: int
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 16.0
- Type: date
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 16.0
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Introduced: API version 16.0
- Type: int
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 16.0
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Introduced: API version 16.0
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Introduced: API version 30.0
- Type: date
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 16.0
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Introduced: API version 16.0
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Introduced: API version 16.0
- Type: datetime
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 8.0
- Type: picklist
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Type: combobox
- Properties: Create, Filter, Nillable, Sort, Update
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort
- Introduced: API version 35.0
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Type: int
- Properties: Filter, Group, Nillable, Sort
- Introduced: API version 24.0
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Relationship name: What
-
Relationship type: polymorphic
-
Refers to: AcadTermEnrlPolicyRuleLog, AcademicCredential, AcademicInterest, AcademicOrder, AcademicSession, AcademicTerm, AcademicTermEnrollment, AcademicTermPolicyRule, AcademicTermRegstrnTimeline, AcademicYear, Account, AccountAccountRelation, AccountBillingAccount, AccountFinancialSummary, AccountForecast, AccountLeadTime, AccountPlan, AccountPlanObjective, AccountPlanObjectiveCategory, AccountPlanObjectiveMeasure, AccountPlanParticipant, AccountPlanRelaObjAnalysis, AccountPlanRelationship, AccountPlanStakeholder, AccountPlanStkhldrProduct, AccountProductCategoryClsfn, AccountServicePreference, AccountingPeriod, Accreditation, AcctMgrTarget, AcctPlanPtcpStakeholder, ActionPlanStatusPeriod, ActionPlanTemplateAssignment, ActionVisibility, ActionableEventOrchestration, ActionableEventSubtype, ActionableEventType, ActivityPlan, ActivityTiming, AdAvailabilityDimensions, AdAvailabilityJob, AdAvailabilityViewConfig, AdAvailableTargetSegment, AdAvailableTargetSegmentValue, AdBuyServerAccount, AdCreativeSizeType, AdDemographicCode, AdDigitalAvailability, AdLinearAvailability, AdOpportunity, AdOpportunityLineItem, AdOpportunityObjective, AdOpportunityTargetValue, AdOrderItem, AdOrderItemAdSpaceSpec, AdOrderItemCreativeSizeType, AdOrderItemDeliveryFrequency, AdOrderItemDeliverySchedule, AdOrderItemPrintIssue, AdOrderItemUnitsSplit, AdOrderLineAdTarget, AdOrderLineHiatus, AdOrderLineTargetExpression, AdOrderLineTargetValue, AdPageLayoutType, AdProductDefaultTargetCategory, AdProductDefaultTargetValue, AdProductTargetCategory, AdQuote, AdQuoteLine, AdQuoteLineAdSpaceSpec, AdQuoteLineAdTarget, AdQuoteLineCreativeSizeType, AdQuoteLineDeliveryFrequency, AdQuoteLineDeliverySchedule, AdQuoteLineHiatus, AdQuoteLinePrintIssue, AdQuoteLineTargetExpression, AdQuoteLineTargetValue, AdQuoteLineUnitsSplit, AdQuoteLinearMetrics, AdQuoteMediaTypeProperty, AdServer, AdServerAccount, AdServerAccountContact, AdServerUser, AdSpace, AdSpaceCapacity, AdSpaceCapacityAllocation, AdSpaceCreativeSizeType, AdSpaceGroupMember, AdSpaceSpecProduct, AdSpaceSpecification, AdSpecMediaPrintIssue, AdTargetCategSgmtAdSrvr, AdTargetCategory, AdTargetCategorySegment, AdTargetSegmentValAdSrvr, AdTargetSegmentValue, AdTargetTemplate, AdTargetTemplateValue, AdUsage, AdUsageSummary, AdvAccountForecastFact, AdvAcctForecastSetPartner, AdvAcctForecastSetUse, AdvTherapyFieldOptOverride, AdverseEventAction, AdverseEventCause, AdverseEventContribFactor, AdverseEventEntry, AdverseEventOutcome, AdverseEventParty, AdverseEventSupportInfo, AdverseEvntResultingEffect, AiVisitRecommendRequest, AiVisitRecommendation, AiVisitTaskRcmd, AiVisitTaskRcmdRequest, AirTravelEmssnFctr, AirTravelEnrgyUse, AllergyIntolerance, AnnualEmssnInventory, AnnualEmssnInventoryExtension, AnnualEmssnRdctnTarget, AntiCorruptionInitSum, AppAlert, AppAlertTerritory, AppAlertUserResponse, AppFormProdtFinclAccount, AppFormProductCollateral, Applicant, ApplicantApplicantRelation, ApplicationActionItem, ApplicationCase, ApplicationDecision, ApplicationForm, ApplicationFormEvalPtcp, ApplicationFormEvalSection, ApplicationFormEvaluation, ApplicationFormProduct, ApplicationFormProductDev, ApplicationFormProductFee, ApplicationFormProductProposal, ApplicationFormRelatedCode, ApplicationFormRelation, ApplicationFormSellerItem, ApplicationFormTemplate, ApplicationFormTerm, ApplicationRecommendation, ApplicationRecommender, ApplicationRenderMethod, ApplicationReview, ApplicationSectionDefinition, ApplicationStageDefinition, ApplicationTimeline, ApplnActnItemDocChecklistItem, ApplnRenderMethodAssignment, ApplnStageSectionDefinition, AppointmentCategory, AppointmentInvitation, AppointmentReason, Appraisal, AppraisalAdjustment, AppraisalItem, AppraisalItemAddOn, AppraisalItemProviderVal, ApprovalSubmission, ApprovalSubmissionDetail, ApprovalWorkItem, ApprovalWorkItemCondition, ApprovalWorkItemCriteria, ApptBundleAggrDurDnscale, ApptBundleAggrPolicy, ApptBundleConfig, ApptBundlePolicy, ApptBundlePolicySvcTerr, ApptBundlePropagatePolicy, ApptBundleRestrictPolicy, ApptBundleSortPolicy, AsmtIndDefExt, AsmtQstnMaterialityTpc, AsmtQstnRespRecommendation, Assessment, AssessmentDefinition, AssessmentEnvelope, AssessmentEnvelopeItem, AssessmentIndicatorDefinition, AssessmentQstnVerChoice2, AssessmentQuestion, AssessmentQuestionAssignment, AssessmentQuestionResponse, AssessmentQuestionSet, AssessmentQuestionSourceDoc, AssessmentQuestionVerChoice, AssessmentQuestionVersion, AssessmentReason, AssessmentSignature, AssessmentTask, AssessmentTaskContentDocument, AssessmentTaskDefinition, AssessmentTaskOrder, Asset, AssetAccountParticipant, AssetActionSrcPriceAdjustment, AssetCase, AssetContactParticipant, AssetDataSharingParticipant, AssetDepreciation, AssetDowntimePeriod, AssetMilestone, AssetRelationship, AssetServiceRequest, AssetTimeSheet, AssetTitle, AssetTitleParty, AssetType, AssetWarranty, AssignedResource, Assortment, AssortmentProduct, AssortmentSpec, AttrPicklistExcludedValue, AttributeAdjustmentCondition, AttributeBasedAdjRule, AttributeBasedAdjustment, AttributeCategory, AttributeCategoryAttribute, AttributeDefinition, AttributePicklist, AttributePicklistValue, AuthApplicationAsset, AuthApplicationPlace, AuthLocationAccessSchedule, AuthorNote, AuthorizedInsuranceLine, Award, BalanceAdjustmentRequest, Banker, Benefit, BenefitAsgntProviderLoc, BenefitAssignment, BenefitAssignmentAsset, BenefitDisbursement, BenefitDisbursementAdj, BenefitItemCode, BenefitPrvdSearchableFld, BenefitSchedule, BenefitScheduleAssignment, BenefitSession, BenefitSpecialty, BillingAccount, BillingAccountContact, BindingObjUsageRsrcPlcy, BindingObjectCustomExt, BindingObjectRateAdjustment, BindingObjectRateCardEntry, BiodiversitySummary, BldgEnrgyIntensity, BldgEnrgyIntensityVal, BldgSizeCategory, BnftAsgntBnftItemCode, BoardCertification, BranchUnit, BranchUnitBusinessMember, BranchUnitCustomer, BrokerOfRecord, Budget, BudgetAllocation, BudgetCategory, BudgetCategoryValue, BudgetParticipant, BudgetPeriod, BudgetProduct, BudgetTerritory, BundleBasedAdjustment, BundledCareFeeAgreement, BusOperProcParticipant, BusOperProcRegClVer, BusRegAuthTypeDependency, BusRegAuthorizationType, BusinessLicense, BusinessLicenseApplication, BusinessLicenseCodeSet, BusinessLicenseProduct, BusinessMilestone, BusinessOperationsProcess, BusinessProfile, BusinessType, BuyerAccount, BuyerGroupPricebook, CalculationMatrix, CalculationMatrixVersion, CalculationProcedure, CalculationProcedureVersion, Campaign, CampaignMemberExtension, CapitationCareFeeAgreement, CareBarrier, CareBarrierDeterminant, CareBarrierType, CareBenefitVerifyRequest, CareDeterminant, CareDeterminantType, CareDiagnosis, CareEpisode, CareEpisodeDetail, CareFacilityBed, CareFeeScheduleItem, CareGap, CareGapCriteriaResult, CareInterventionType, CareMetricTarget, CareObservation, CareObservationComponent, CarePgmEnrleeStatusPeriod, CarePgmEnrolleeWkOrdStep, CarePgmEnrolleeWorkOrder, CarePgmEnrollmentEvalRslt, CarePgmProvHealthcareProvider, CarePgmTeamMbrRolePeriod, CarePlan, CarePlanActivity, CarePlanActivityDetail, CarePlanDetail, CarePlanTemplate, CarePlanTemplateBenefit, CarePlanTemplateGoal, CarePlanTemplateProblem, CarePractnFacilityAppt, CarePreauth, CarePreauthItem, CareProcessingError, CareProgram, CareProgramAssistance, CareProgramCampaign, CareProgramDetail, CareProgramEligibilityRule, CareProgramEnrollee, CareProgramEnrolleeProduct, CareProgramEnrollmentCard, CareProgramGoal, CareProgramProduct, CareProgramProvider, CareProgramSite, CareProgramSiteContract, CareProgramStatusPeriod, CareProgramTeamMember, CareProviderAdverseAction, CareProviderFacilitySpecialty, CareProviderSearchableField, CareRegisteredDevice, CareRequest, CareRequestDrug, CareRequestExchangeInfo, CareRequestExtension, CareRequestItem, CareRequestReviewer, CareRequestSupportingCntnt, CareService, CareServiceVisit, CareServiceVisitPlan, CareSiteIstgrSearchableFld, CareSpecialty, CareSpecialtyTaxonomy, CareTaxonomy, CareTeam, Case, CaseEpisode, CaseFileProcessExecution, CaseGeneratedSummary, CaseParticipant, CaseProceeding, CaseProceedingComplaint, CaseProceedingInfraction, CaseProceedingParticipant, CaseProceedingResult, CaseProgram, CaseRelatedSubject, CaseTeamMemberProgram, CaseTroubleTicket, CategorizedCareFeeAgreement, ChangeRequest, ChangeRequestConflict, ChannelProgram, ChannelProgramLevel, Claim, ClaimCase, ClaimCovPaymentAdjustment, ClaimCovReserveAdjustment, ClaimCoverage, ClaimCoveragePaymentDetail, ClaimCoverageReserveDetail, ClaimItem, ClaimItemRelatedObject, ClaimParticipant, ClaimPaymentSummary, ClaimPayoutPlan, ClaimRecovery, ClaimTeamMember, CleanEnergyProject, ClimateChgEmssnFincSummary, ClimateChgRiskOppSummary, ClinicalAlert, ClinicalDetectedIssue, ClinicalDetectedIssueDetail, ClinicalEncounter, ClinicalEncounterDiagnosis, ClinicalEncounterFacility, ClinicalEncounterIdentifier, ClinicalEncounterProvider, ClinicalEncounterReason, ClinicalEncounterSvcRequest, ClinicalMeasure, ClinicalMeasureCriteria, ClinicalMeasureCriteriaGrp, ClinicalServiceRequest, ClinicalServiceRequestDetail, CmplControlParticipant, CmplCtrlVerTestExecution, CmplPolicyParticipant, CmplValidationProcdVer, CmplValidationProcedure, CmplVldProcdParticipant, CodeSetRelationship, CollectionPlan, CollectionPlanItem, CollectionPlanReason, CommSubscriptionConsent, CommissionSchedule, CommissionScheduleAssignment, CommissionStatement, CommissionStatementLineItem, CompPlcyCommsRecipient, CompPlcyCommsResponse, Competency, CompetencyRelatedObject, CompiledProduct, ComplaintCase, ComplaintParticipant, ComplianceControl, ComplianceControlVersion, CompliancePlcyClauseVersion, CompliancePolicy, CompliancePolicyClause, CompliancePolicyComms, CompliancePolicyVersion, ComplianceRisk, ComplianceRiskEvaluation, ComplianceStatementDef, ComplianceTest, CondIntrctnHlthRskAdjFctr, ConstituentRole, ContactContactRelation, ContactEncounter, ContactEncounterParticipant, ContactPointBestContactTime, ContactPointSocial, ContactProfile, ContactRequest, ContentLink, ContentSource, Contract, ContractDocVerContentDoc, ContractDocVersionSection, ContractDocumentVersion, ContractGroupPlan, ContractGroupPlanGroupClass, ContractLineItem, ContractPaymentAgreement, CostBook, CostBookEntry, CostCenter, Coupon, CourseCreditTransferAppln, CourseEquivalency, CourseOffering, CourseOfferingParticipant, CourseOfferingPtcpResult, CourseOfferingRelationship, CourseOfferingRgstrTimeline, CourseOfferingSchedule, CourseOfferingScheduleTmpl, CourseOfrPtcpActvtyGrd, CourseOfrgRubricCriterion, CoverageBenefit, CoverageBenefitItem, CoverageBenefitItemLimit, CoverageType, CrbnCreditAlloc, CrbnCreditAllocItem, CrbnCreditDistribution, CrbnCreditProject, CrbnEmssnScopeAlloc, CrbnEmssnScopeAllocVal, CreditMemo, CustodyChainEntry, CustodyItem, CustodyItemRelation, CustodyItemRgltyCodeVio, CustodyVerfcTypeOverride, CustomEntityDataTemplate, CustomerProperty, DataQueryWorkspace, DealIndirectPartner, DebitMemo, DelegatedAccount, DeliveryEstimationSetup, DeliveryTask, DepreciationPlan, Deviation, DevopsActivityLog, DevopsEnvDeployment, DevopsEnvDeploymentMbr, DevopsEnvironment, DevopsPipeline, DevopsPipelineEnvironment, DevopsPipelineStage, DevopsPipelnStgProm, DevopsPipelnStgPromWkItem, DevopsProject, DevopsProjectEnvironment, DevopsProjectPipeline, DevopsRequestInfo, DiagnosticSummary, DiagnosticSummaryDetail, DifferentialShift, DigitalSignatureRequest, DigitalVerfSetupDetail, DigitalVerification, DigitalVerificationSetup, Disclosure, DisclsReportingPeriod, DiseaseDefinition, DiseaseDefinitionCondition, DiseaseDefinitionCriteria, DiseaseInvestigation, DiseaseInvestigationCase, DiseaseOutbreak, Dispute, DisputeItem, DisputeItemArbitration, DisputeItemMerchantAlert, DistributorAuthorization, DivrsEquityInclSum, DocChkItemValidatedTarget, DocClauseSetAsmtQstn, DocTemplateSectionCondition, DocumentChecklistItem, DocumentClause, DocumentClauseSet, DocumentDecisionRequirement, DocumentEnvelope, DocumentExtractionRqstStep, DocumentRecipient, DocumentTemplate, DocumentTemplateContentDoc, DocumentTemplateSection, DocumentTemplateToken, DonorGiftConcept, DonorGiftConceptOpportunity, DonorGiftSummary, EconomicPerformanceSum, EducCharReqAssignment, EducCharReqRelationship, EducCharRequirement, EducCharacteristicAssignment, EducCharacteristicType, EducInstSearchableProfile, EducInstitutionOffering, EducationalCharacteristic, EducationalInfoRequest, ElectrLifecyclEmssnFctrSet, ElectricityEmssnFctrSet, EmissionsActivity, EmissionsAllocation, EmissionsForecastFact, EmpBenefitSummary, Employee, EmployeeDemographicSum, EmployeeDevelopmentSum, Employment, EmploymentCompensationSummary, EmploymentOffer, EmploymentOfferVettingEval, EmssnRdctnCommitment, EmssnReductionTarget, EnergyAttrCertCredit, EnergyAttrCertPurchase, EnergyAttrCreditDstr, EnergyServiceAgreement, EnergyServiceAgreementItem, EngagementAttendee, EngagementInteraction, EngagementTopic, EnrollmentEligibilityCriteria, Entitlement, EnvironmentalRisk, EstimatedExpense, EventMgmtFairMarketValue, EventMgmtResourceRequest, EventMgmtSvcSpclzn, EventMgmtSvcSpclznTier, EventPlan, EventPlanBudget, EventPlanItem, EventPlanParticipant, EventPlanProduct, EventPlanSubject, EventPlanSvcSpclzn, EventPlanTerritory, Examination, Expense, ExpenseParticipant, ExpenseReport, ExpenseReportEntry, ExpenseType, Expert, ExpertEventMgmtSvcSpclzn, ExpertSubject, ExpressionSet, ExpressionSetVersion, ExternalAssessmentDefinition, ExternalLearning, ExternalLearningPtcpResult, ExtlPtcpRsltLrnrPgmRqmt, FinAssetPortfolioTgtAlloc, FinancialAccount, FinancialAccountAddress, FinancialAccountBalance, FinancialAccountFee, FinancialAccountMilestone, FinancialAccountParticipant, FinancialAccountParty, FinancialAccountStatement, FinancialAccountTransaction, FinancialDeal, FinancialDealAsset, FinancialDealBid, FinancialDealInteraction, FinancialDealParty, FinancialDealProduct, FinancialGoal, FinancialSecurity, FinclAcctPtyFinclAsset, FinclDealInteractionSummary, Fleet, FleetAsset, FleetParticipant, FlowOrchestrationInstRelaObj, Formulary, FormularyItem, FrgtHaulingEmssnFctr, FrgtHaulingEnrgyUse, FtestAccountChild, FtestChild, FtestGrandChild, FtestMain, FulfillmentOrder, FulfillmentStep, FulfillmentStepDefinition, FulfmtRoutgCriteria, FulfmtRoutgCriteriaActnVar, FulfmtRoutgCriteriaCond, FulfmtRoutgCriteriaGrp, FulfmtRoutgCriteriaGrpVer, FulfmtRoutgSpec, FulfmtRoutgSpecLocation, FulfmtRoutgSpecProduct, FundTransferRequest, FundingAward, FundingAwardAmendment, FundingAwardParticipant, FundingAwardRequirement, FundingAwardRqmtSection, FundingDisbursement, FundingOppParticipant, FundingOpportunity, GeneralLedgerAccount, GeneralLedgerAcctAsgntRule, GeneratedDocument, GeneratedDocumentSection, GeneratedWaste, GenericVisitTask, GenericVisitTaskContext, GeolocationBasedAction, GiftActuarialEntry, GiftAgreement, GiftBatch, GiftCmtChangeAttrLog, GiftCommitment, GiftCommitmentSchedule, GiftDefaultDesignation, GiftDefaultSoftCredit, GiftDesignation, GiftEntry, GiftRefund, GiftSoftCredit, GiftStewardship, GiftStewardshipActivity, GiftTransaction, GiftTransactionDesignation, GiftTribute, GiftValueForecast, GnrcVstKeyPerformanceInd, GnrcVstTaskContextRelation, Goal, GoalAssignment, GoalAssignmentDetail, GoalDefinition, GoalDefinitionProduct, GoodsReceivedNote, GoodsReceivedNoteItem, GovtFinancialAsstSum, GroundTravelEmssnFctr, GroundTravelEnrgyUse, GroupCensus, GroupCensusMember, GroupCensusMemberPlan, GroupClass, GroupClassContribution, GrpCensusGrpClassSummary, HealthCondition, HealthConditionDetail, HealthRiskEvalDetail, HealthRiskEvalOutcome, HealthRiskEvaluation, HealthcareFacility, HealthcareFacilityNetwork, HealthcarePayerNetwork, HealthcarePractitionerFacility, HealthcareProvider, HealthcareProviderNpi, HealthcareProviderService, HealthcareProviderSpecialty, HealthcareProviderTaxonomy, HealthcareServiceDetail, HierCondHlthRskAdjFctr, HlthCareProvTreatedCondition, HotelStayEmssnFctr, HotelStayEnrgyUse, ITSrvcsConfigItemRela, ITSrvcsConfiguredItem, ITSrvcsIncdRelaCnfigItm, IdentityDocument, Image, ImpactRiskOpportunity, ImpactRiskOpportunityScore, ImpactRiskOpportunityTopic, ImpcRiskOppAssessment, ImpcRiskOppAssessmentTopic, InStoreLocation, Incident, IndexRate, IndividualApplication, IndividualApplicationItem, IndividualApplicationTask, IndividualApplicationTaskItem, IndividualApplnParticipant, IndvApplicationTaskParticipant, InflationRate, InfoAuthorizationRequest, InfoLibraryExternalDocument, InformationVerification, Inquiry, InquiryQuestion, InquiryQuestionAnswer, InsBnftEligDefinition, InsContributionPlnGroupCls, InsContributionPlnLineItem, InsPlcyLimit, InsPlcyLimitTracking, InsPolicyAssetRelatedObj, InsPolicyBenefitEligibility, InsPolicyBillingInfo, InsPolicyCoverageBenefit, InsPolicyCoverageNetwork, InsPolicyCvrRelatedObj, InsPolicyPtcpRelatedObj, InsPolicyRelatedObject, InsPolicyTransactionDetail, InsProductClauseVariableMap, InspectionAssessmentInd, InspectionType, InsuranceAsyncBulkRecordDetail, InsuranceAsyncBulkRequest, InsuranceAsyncBulkRequestItem, InsuranceClaimAsset, InsuranceClause, InsuranceContract, InsuranceContributionPlan, InsurancePolicy, InsurancePolicyAsset, InsurancePolicyCoverage, InsurancePolicyMemberAsset, InsurancePolicyParticipant, InsurancePolicyProductClause, InsurancePolicySurcharge, InsurancePolicyTeamMember, InsurancePolicyTransaction, InsuranceProductClause, InsuranceProfile, InsuranceRatePlan, InsuranceRatePlanCommission, InsuranceRatePlanLineItem, IntakeFormSection, IntakeFormSectionPtcp, IntegrationJobRun, IntegrationProviderDcsnRqmt, IntegrationProviderExecution, Interaction, InteractionAttendee, InteractionRelatedAccount, InteractionSumDiscussedAccount, InteractionSummary, InteropTopic, InteropTopicDetail, InteropTopicFilter, InteropTopicNtfcnResource, InteropTopicSubcrFilter, InteropTopicSubcrParameter, InteropTopicSubscription, InteropTopicSubscriptionDtl, InteropTopicTriggerCriteria, InventoryCntSerializedProdt, InventoryCountPlan, InventoryCountProductItem, InventoryReplenishmentPolicy, Invoice, InvoiceDocument, InvolvementGroup, InvolvementGroupMember, IssuedCard, JobExpenseType, JobPosition, JobPositionAssignment, JobPositionPayGrade, JobPositionQualification, JobPositionShift, JobPstnRecruitmentRqs, LaborUnion, LandingPage, LandingPageContent, LeadLineItem, LeadPreferredSeller, LearnerPathway, LearnerPathwayItem, LearnerProfile, LearnerProgram, LearnerProgramRequirement, LearnerProgramRqmtProgress, Learning, LearningAchievement, LearningCourse, LearningEquivalency, LearningEquivalencyLearning, LearningEqvAchvMapping, LearningFoundationItem, LearningOutcomeItem, LearningPathwayTemplate, LearningPathwayTemplateItem, LearningPathwayTmplPgmPlan, LearningProgram, LearningProgramPlan, LearningProgramPlanRqmt, LearningRule, LegalEntity, LegalEntyAccountingPeriod, LifeSciAcctGrpAssignment, LifeSciDocTemplateVersion, LifeSciEmailTemplate, LifeSciEmailTmplFragment, LifeSciEmailTmplRelaFrgmt, LifeSciEmailTmplSnapshot, LifeScienceDocument, LifeScienceDocumentTemplate, LifeScienceEmail, ListEmail, LiveAgentSession, LiveChatTranscript, LoanApplicant, LoanApplicantAddress, LoanApplicantDeclaration, LoanApplicantEmployment, LoanApplicantIncome, LoanApplicationAsset, LoanApplicationFinancial, LoanApplicationLiability, LoanApplicationProperty, LoanApplicationTitleHolder, Location, LocationShippingCarrierMethod, LocationWaitlistedParty, LoyaltyMembershipLifecycle, LoyaltyPgmGroupMbrRlnsp, LoyaltyPgmPartnerCurrency, LoyaltyPgmPartnerPromotion, LoyaltyPgmPtnrPrepaidPack, LoyaltyProgram, LoyaltyProgramMbrPromotion, LoyaltyProgramMember, LoyaltyProgramMemberCase, MaintenanceAsset, MaintenancePlan, ManagedCareProgramPrfm, ManufacturingProgram, MarketingForm, MarketingLink, MarketingLinkContent, MaterialityAssessment, MaterialityMatrixScore, MaterialityStakeholder, MaterialityStkhldrCatg, MaterialityTopic, MaterialityTopicDocClauseSet, MaterialityTopicQstn, MaterialityTopicReference, MedReconRecommendation, MedReconStmtRecommendation, MedTherapyStmtReviewIssue, MediaChannel, MediaContentTitle, MediaPrintIssue, MediaTitleAvailAttribute, MediaTitleAvailability, MediaTitleReleaseDate, MediaTitleRevenue, MedicalInsight, MedicalInsightAccount, MedicalInsightGoalDef, MedicalInsightProduct, MedicationAdministration, MedicationAdministrationDtl, MedicationDispense, MedicationReconciliation, MedicationRequest, MedicationStatement, MedicationStatementDetail, MedicationTherapyReview, MedicationTherapyStmtReview, MedicinalIngredient, MemberPlan, MemberPlanCarePlan, MemberPlanMedicationStmt, MentoringProfile, MergeRequest, Metric, MfgProgramCpntFrcstFact, MfgProgramForecastFact, MfgProgramVariantFrcstFact, MngEvent, MngEventBudget, MngEventParticipant, MngEventProduct, MngEventPtcpDiscrepancy, MngEventResource, MngEventResourcePreference, MngEventRsrcPtcpRequest, MngEventSession, MngEventSessionParticipant, MngEventSuplProdtAsgnPtcp, MngEventSupplierProduct, MngEventTerritory, MngEventType, MonthlyUsageTrkgDataGap, MultipartyInfoAuthRequest, ObjectStateActionDefinition, ObjectStateDefinition, ObjectStateTransition, ObjectStateTransitionAction, ObjectStateValue, Obligation, Occupation, OccupationGroup, Offer, OfferListEmail, OfferProduct, OfferProductCategory, OmniAssessmentTask, OmniProcessAsmtQuestionVer, OmniProcessOmniAsmtTask, OmniScriptSavedSession, OnbrdDataObjGrpRecVld, OnbrdDataObjGrpRecVldCalc, OperatingHoursHoliday, Opportunity, OpportunityLineItemRecipient, OpportunityLineItemSchdActual, OpportunityPreferredSeller, Order, OrderItemUsageRsrcGrant, OrderItemUsageRsrcPlcy, OrderSummary, OrderUseRsrcChosenPolicy, OrgIncidentSummary, OrgPaymentPracSummary, OtherComponentTask, OtherEmssnFctrSet, OtherEmssnFctrSetItem, OthrLifecyclEmssnFctrSet, OthrLifecyclEmssnFctrSetItem, OutreachSourceCode, OutreachSummary, OvertimeApprover, OvertimeType, PartnerFundAllocation, PartnerFundClaim, PartnerFundRequest, PartnerMarketingBudget, PartnerStagedData, PartnerUnsoldInvLedger, PartnerUnsoldInventory, PartyAppointmentRequest, PartyBusinessRegion, PartyCategory, PartyCertifiedCapacity, PartyConsent, PartyCreditPrflFinclAcct, PartyCreditProfile, PartyCreditProfileAlert, PartyCreditProfileFldVld, PartyCreditProfileInquiry, PartyExpense, PartyExpenseFldVld, PartyFinancialAsset, PartyFinancialAssetLien, PartyFinancialAssetRela, PartyFinancialAssetTerm, PartyFinancialLiability, PartyFinclAssetAddlOwner, PartyFinclAstFldVld, PartyFinclLiabAddlBrwr, PartyFinclLiabFldVld, PartyIdentityVerfFldVld, PartyIdentityVerification, PartyIdentityVerificationStep, PartyIncome, PartyIncomeFldVld, PartyPhilanthropicAssessment, PartyPhilanthropicIndicator, PartyPhilanthropicMilestone, PartyPhilanthropicOccurrence, PartyPhilanthropicRsrchPrfl, PartyPrflAddrFldVld, PartyPrflFldVld, PartyProfile, PartyProfileAddress, PartyProfileRisk, PartyProfileRiskFldVld, PartyPublication, PartyRelationshipGroup, PartyRoleRelation, PartySchedulePreference, PartyScreeningStep, PartyScreeningSummary, PartyScrnSumFldVld, PatientImmunization, PatientImmunizationProtocol, PatientMedicalProcedure, PatientMedicalProcedureDetail, PayGrade, PayGradeStep, PayGradeStepLocation, PayGroup, PayPeriod, PayType, PaymentCart, PaymentCartItem, PaymentInstrument, PaymentLink, PaymentMandate, PaymentRequest, PaymentRequestLine, PcmtEmssnFctrSet, PcmtEmssnFctrSetItem, PercentileBsdCareFeeAgreement, PersonAcademicCredential, PersonAffinity, PersonCompetency, PersonDisability, PersonEducation, PersonEmpFldVld, PersonEmployment, PersonExamination, PersonLifeEvent, PersonLocationAvailability, PersonTrait, PetitionType, PetitionableOutcome, PgmRebateTypBnftMapping, PickTicket, PickTicketAssignment, PlanBenefit, PlanBenefitItem, PlannedGift, PlannedGiftAnnuityRate, PlannedGiftPerformance, PltnImpactRiskOppSummary, Polygon, Position, PositionBenefit, PositionPayGrade, PositionQualification, PreliminaryApplicationRef, Presentation, PresentationClickStrmEntry, PresentationContent, PresentationForum, PresentationLinkedPage, PresentationPage, PresentationPageProduct, PresentationPartyAccess, PreventiveCareAgreement, PriceAdjustmentProductRule, PriceAdjustmentSchedule, PriceAdjustmentTier, PriceBookAcademicInterval, PriceBookEntryDerivedPrice, PriceBookPriceGuidance, PriceBookRateCard, PriceProtectExecLineItem, PriceProtectionExecution, PriceProtectionTerm, PriceRevisionPolicy, PricingAdjBatchJob, PricingAdjBatchJobLog, PricingApiExecution, PricingProcedureResolution, PricingProcessExecution, PriorLearningEvaluation, PrivacyHold, PrivacyHoldReason, PrivacyRTBFRequest, PrivacyRequest, Problem, ProblemDefRelationship, ProblemDefinition, ProblemGoalDefinition, ProcessException, ProdtAttrMappedScope, ProdtAttrScope, ProdtDecompEnrchVarMap, ProdtSvcCmpnDefPtnrInv, ProdtSvcCmpnDefRelaCausalItm, ProdtSvcCmpnGrpDefCausalItm, ProdtSvcCmpnGrpDefPtnr, ProdtSvcCmpnPreferredPartner, ProdtSvcCmpnWorkType, Producer, ProducerCommission, ProducerPolicyAssignment, ProducerRelationship, ProducerSplitArngLineItem, ProducerSplitArrangement, ProducerSplitAssignment, ProducerSplitRoleAssignment, Product2, ProductAttributeDefinition, ProductAvlSvcCatalogItem, ProductCatalog, ProductCategoryAttribute, ProductCategoryServiceProcess, ProductClassification, ProductClassificationAttr, ProductComponentGroup, ProductComponentGrpOverride, ProductConfigurationRule, ProductConsumed, ProductCoverage, ProductDetectedPriceChange, ProductEmissionsFactor, ProductFaultCode, ProductFee, ProductItem, ProductItemAddlTrxn, ProductLaborCode, ProductListRate, ProductOverridePathItem, ProductPriceHistoryLog, ProductPriceRange, ProductRampSegment, ProductRelComponentOverride, ProductRelatedMaterial, ProductRequest, ProductRequestLineItem, ProductRqmtSpec, ProductRqmtSpecItem, ProductRqmtSpecVersion, ProductSellingModel, ProductServiceCampaign, ProductServiceCampaignItem, ProductSurcharge, ProductSvcCampaignDef, ProductSvcCampaignGrpDef, ProductSvcCmpnDefProdtBtch, ProductTransfer, ProductUsageResourcePolicy, Program, ProgramApplnFormTemplate, ProgramCohort, ProgramCohortMember, ProgramEnrlEligibilityCrit, ProgramEnrollment, ProgramInitiative, ProgramInitiativeEnrl, ProgramProduct, ProgramRebateTypEligibility, ProgramRebateTypPayoutSrc, ProgramRebateType, ProgramRebateTypeBenefit, ProgramRebateTypeFilter, ProgramRebateTypePayout, ProgramRebateTypeProduct, ProgramRebateTypeReference, ProgramRecommendationRule, ProgramTermApplnTimeline, Promotion, PromotionChannel, PromotionLimit, PromotionLimitUsage, PromotionMarketSegment, PromotionPresentation, PromotionProduct, PromotionProductCategory, PromotionQualifier, PromotionSegment, PromotionSegmentBuyerGroup, PromotionSegmentSalesStore, PromotionTarget, PromotionTier, ProviderAcctProductInfo, ProviderAcctTerritoryInfo, ProviderActivityGoal, ProviderActivityGoalLimit, ProviderActivityGoalMeasure, ProviderActvtyPlanAdjusment, ProviderAffiliation, ProviderAffiliationProduct, ProviderNetworkContract, ProviderNetworkTier, ProviderOffering, ProviderSampleLimit, ProviderSmplLmtTmplAssignment, ProviderVisit, ProviderVisitDtlProductMsg, ProviderVisitMarketingItem, ProviderVisitProdDetailing, ProviderVisitProdDiscussion, ProviderVisitRqstSample, PrstCntntUsageSummary, PrvdAccountTerritorySummary, PrvdActvtyGoalMeasureProdt, PrvdActvtyPlanAdjProdt, PrvdEngmtComplianceCycle, PrvdVstSmplLmtDiscrepancy, PrvdVstSmplLmtTransaction, PtnrInvItmRecon, PtnrInvItmReconTrace, PtnrInvRecon, PtyCrPrflFinclAcctActvty, PtyFinclAstAddOwnrFldVld, PtyFinclAstLienFldVld, PtyFinclLiabAddBrwrFldVld, PublicComplaint, PublicProgram, PulseCheck, PulseCheckTemplate, PurchaseOrder, PurchaseOrderItem, PurchaseQuantityRule, PurchaserPlan, PurchaserPlanCareProgram, QuotLineItmUsageRsrcPlcy, QuotLineItmUseRsrcGrant, QuotUseRsrcChosenPolicy, Quote, QuoteLineItemGroupClass, QuoteLineItemInsProductClause, QuoteLineItemRelatedObject, RateAdjustmentByAttribute, RateAdjustmentByTier, RateCard, RateCardEntry, RatingFrequencyPolicy, RatingRequest, RatingRequestBatchJob, RebateClaim, RebateClaimAdjustment, RebateMemberAggregateItem, RebateMemberClaimAggregate, RebateMemberProductAggregate, RebatePartnerSpecialPrcTrm, RebatePayment, RebatePayoutAdjustment, RebatePayoutSnapshot, RebateProgram, RebateProgramMember, RebateProgramMemberPayout, RebateProgramPayoutPeriod, RebatePtnrSpclPrcTrmBnft, ReceivedDocument, ReceivedDocumentType, RecordAlert, RecordAlertActionableTarget, RecruitmentContentSection, RecruitmentPosting, RecruitmentPostingCntntSect, RecruitmentRequisition, RecruitmentRequisitionLoc, RecruitmentRequisitionPtcp, ReferenceDataLoadLog, Referral, RefrigerantEmssnFctr, RegAuthorizationTypeProduct, RegClCmplControlVer, RegClCmplPlcyClVer, Regulation, RegulationClause, RegulationClauseVersion, RegulationParticipant, RegulationVersion, RegulatoryAuthority, RegulatoryAuthorizationType, RegulatoryCode, RegulatoryCodeAssessmentInd, RegulatoryCodeViolation, RegulatoryTrxnFee, RegulatoryTrxnFeeItem, ReinsAgreementLineItem, ReinsPolicyBordereauFact, ReinsProtocolProdtComponent, ReinsuranceAgreement, ReinsuranceProtocol, ReinsuranceProtocolAgreement, Release, RentalCarEmssnFctr, RentalCarEnrgyUse, ReportedConsumption, ResearchStdyCmprGroupCndt, ResearchStdyCndtStatusPrd, ResearchStdyRandomization, ResearchStdySearchableField, ResearchStudy, ResearchStudyCandidate, ResearchStudyCmprGroup, ResearchStudyProtocolInfo, ResearchStudyRelation, ResearchStudyRndmBlockSlot, ResidentialLoanApplication, ResourceAbsence, RestrictedParty, RetailLocationGroup, RetailStore, RetailStoreGroupAssignment, RetailStoreKpi, RetailVisitKpi, ReturnOrder, ReturnOrderLineItem, RightsQuote, RightsQuoteLineItem, RightsQuoteLineMediaTitle, Risk, RiskBusinessOpsProcess, RiskCmplCtlVersion, RiskEvalSurveyInvt, RiskEvaluation, RiskPolicyClauseVersion, RiskRegClauseVersion, RiskRelatedScope, RiskScenario, RiskScopeType, Route, RsrchStdyRandomizationBlock, RsrchStdyRandomizationCrit, SOSSession, SalesAgreement, SalesContractLine, SalesContractLineItem, SampleRequest, SampleRequestItem, ScheduleBrdcstApptResource, ScheduleBroadcast, ScheduleBroadcastAppointment, ScheduleBroadcastTerritory, SchedulingWorkspace, SchedulingWorkspaceTerritory, Scope3CrbnFtprnt, Scope3EmssnSrc, Scope3PcmtItem, Scope3PcmtSummary, SearchableReferenceDocument, SecuritiesHolding, SellerProduct, SequenceGapReconciliation, SequencePolicy, ServiceAppointment, ServiceAppointmentAsset, ServiceAppointmentDependency, ServiceAppointmentGroup, ServiceContract, ServiceCrew, ServiceCrewMember, ServiceInfoRequestDetail, ServiceInfoRequestOperation, ServiceInfoRespOvrideOpt, ServiceInfoRespResourceUrl, ServiceInfoRespSuggestion, ServiceInfoResponseAction, ServiceInfoResponseCoverage, ServiceInfoRqstOpOutcome, ServiceInformationRequest, ServiceInformationResponse, ServicePoint, ServiceRequest, ServiceResource, ServiceResourceCostRule, ServiceResourceLeaveBalance, ServiceScheduleRequest, ServiceTerritoryRelationship, SharedSavingPaymentAgreement, Shift, ShiftPattern, ShiftPatternEntry, Shipment, ShipmentItem, ShippingCarrier, ShippingCarrierMethod, SignatureTask, SignatureTaskLineItem, SocialContributionSum, Solution, SourceCodeRepoProvider, SourceCodeRepository, SourceCodeRepositoryBranch, Specimen, Sprint, SrvcMgmntRecEvntAsgnt, StageTransitionEntry, StandardCareFeeAgreement, StgTrnsUndwrEvaluation, StnryAssetAnnualFact, StnryAssetCrbnFtprnt, StnryAssetCrbnFtprntItm, StnryAssetEnrgyUse, StnryAssetEnvrSrc, StnryAssetWaterActvty, StnryAssetWaterFtprnt, StnryAssetWtrFtprntItm, StockRotExecItem, StockRotationExecution, StoreActionPlanTemplate, StoreAssortment, StoreProduct, Subject, SubjectAssignment, SubjectMaterialTemplate, SubjectProduct, SuccessTeam, SuggestedAssessmentDef, SuggestedAssessmentReason, SupplementalCompensation, Supplier, SupplierProduct, Surcharge, SurveyQstnResponseOffline, SurveyQuestion, SurveyResponseOffline, SustainabilityCredit, SustainabilityPurchase, SustainabilityScorecard, SustainabilityStakeholder, SustainabilityTask, SustainabilityTaskGroup, SustnMaterialUseSummary, SvcInfoRelatedQuestionnaire, SvcInfoRespCoverageDetail, TagCategory, TaxDisclosureSummary, Team, TeamMember, TelemetryActionRelatedProcess, Term, TerrGeoAssignmentRule, TerrProvAffilAssignRule, TerritoryAccountScore, TerritoryAcctProdMsgScore, TerritoryAcctRcmdAction, TerritoryBusinessPlan, TerritoryContentTmplAsgnt, TerritoryProdtQtyAllocation, TerritoryUserDowntime, TimeSheet, TimeSheetEntry, TimeSheetEntryItem, TimeSheetValidationError, TimeSheetWageTypeSummary, Tour, TourTemplate, TrackedCommunication, TrackedCommunicationDetail, TrainingCourseParticipant, TransactionUsageEntitlement, TransitTime, TravelMode, TrnCourse, UnderwritingRule, UnderwritingRuleGroup, UnitOfMeasureConversion, UsageBillingPeriodItem, UsageCmtAssetRelatedObj, UsageCommitmentPolicy, UsageEntitlementAccount, UsageEntitlementBucket, UsageEntitlementEntry, UsageImpactFactor, UsageImpactGroup, UsageImpactGroupFactor, UsageImpactGroupPgmMeasure, UsageImpactGroupVersion, UsageOveragePolicy, UsageRatableSumCmtAssetRt, UsageRatableSummary, UsageResourcePolicy, UsageSummary, UserEsignVendorIdentifier, UserFinancialAuthority, UserLocationAssignment, UserReaction, Vehicle, VehicleAssetCrbnFtprnt, VehicleAssetEmssnSrc, VehicleAssetEnrgyUse, VehicleUserAssignment, VendorProject, VettingEvaluation, VideoCallPtcpRequest, VideoCallPtcpSession, ViolationEnforcementAction, ViolationType, ViolationTypeAssessmentInd, Visit, VisitedParty, VolunteerInitiative, VolunteerProject, Waitlist, WaitlistParticipant, WarrantyTerm, WarrantyTermCoverage, WasteFootprint, WasteFootprintItem, WatchlistedLearner, WebCartActivity, WebCartDocument, WebStoreMessageContent, WebStorePricebook, WorkCoaching, WorkGoal, WorkItem, WorkItemComponent, WorkItemComponentList, WorkOrder, WorkOrderDiagnosis, WorkOrderLineItem, WorkPlan, WorkPlanSelectionRule, WorkPlanTemplate, WorkPlanTemplateEntry, WorkProcedure, WorkProcedureStep, WorkReport, WorkReportLineItem, WorkStep, WorkStepTemplate, WorkTypeAssetType, WorkTypeCareSpecialty, WorkTypeCodeSetBundle, WorkTypeExtension, WorkTypeGroupRole, WorkTypeStep, WorkTypeStepLdTimeOvride, WorkerCompCoverageClass, WstDispoEmssnFctrSet, WstDispoEmssnFctrSetItm, YearlyUsageTrkgDataGap
- Type: int
- Properties: Filter, Group, Nillable, Sort
- Introduced: API version 24.0
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Relationship name: Who
-
Relationship type: polymorphic
Recurring Tasks Recurring tasks are available in API version 16.0 and later. After a task is created, it can’t be changed from recurring to nonrecurring or vice versa. When a user creates a series of recurring tasks, Salesforce creates a main record and subsequent occurrences. For the main record, IsRecurrence is set to true and other fields that define the recurrence pattern are populated. The ID of the main record of the recurring task is saved in the subsequent occurrences, in the RecurrenceActivityId field. When you delete a recurring task series through the API, all open and closed task occurrences in the series are removed. However, when you delete a recurring task series through the user interface, only open tasks occurrences (IsClosed is false) in the series are removed. If IsRecurrence is true, then RecurrenceStartDateOnly, RecurrenceEndDateOnly, RecurrenceType, and any properties associated with the given recurrence type (see the following table) must be populated. When you change the RecurrenceStartDateOnly field or the recurrence pattern, all open tasks occurrences in the series are deleted and new open task occurrences are created based on the new recurrence pattern. The following fields determine the recurrence pattern: RecurrenceType, RecurrenceTimeZoneSidKey, RecurrenceInterval, RecurrenceDayOfWeekMask, RecurrenceDayOfMonth, RecurrenceInstance, and RecurrenceMonthOfYear. When you change the value of RecurrenceEndDateOnly to an earlier date (for example, from January 20 to January 10), all open task occurrences in the series with the ActivityDate value greater than the new end date value are deleted. Other open and closed task occurrences in the series are not affected. When you change the value of RecurrenceEndDateOnly to a later date (for example, from January 10 to January 20), new task occurrences are created up to the new end date. Existing open and closed tasks in the series are not affected. This table describes the usage of recurrence fields for Salesforce Classic recurring events. Each recurrence type must have all of its properties set. All unused properties must be set to null. RecurrenceType Value Properties Example Pattern RecursDaily RecurrenceInterval Every second day RecursEveryWeekday RecurrenceDayOfWeekMask Every weekday - can’t be Saturday or Sunday RecursMonthly RecurrenceDayOfMonth RecurrenceInterval Every second month, on the third day of the month RecursMonthlyNth RecurrenceInterval RecurrenceInstance RecurrenceDayOfWeekMask Every second month, on the last Friday of the month RecursWeekly RecurrenceInterval RecurrenceDayOfWeekMask Every three weeks on Wednesday and Friday RecursYearly RecurrenceDayOfMonth RecurrenceMonthOfYear Every March on the 26th day of the month RecursYearlyNth RecurrenceDayOfWeekMask RecurrenceInstanceRecurrenceMonthOfYear The first Saturday in every October JunctionIdList The JunctionIdList field is now implemented in the Event and Task objects. With a single API call, it’s easy to create many-to-many relationships between the Event or Task object with contacts, leads, or users. To create a Task with related Contacts without JunctionIdList, you first have to create the task, then use the returned task ID to create the TaskRelation records. If the TaskRelation save call fails, error handling is your responsibility because the task has already been committed to the database.public void createTasksOld(Contact[] contacts) { Task task = new Task(); task.setSubject(“New Task”); SaveResult[] results = null; try { results = connection.create(new Task[] { task }); if (results[0].isSuccess()) { TaskRelation[] relations = new TaskRelation[contacts.size()]; for (int i = 0; i < contacts.length; i++) { relations[i] = new TaskRelation(); relations[i].setTaskId(results[0].getID()); relations[i].setRelationId(contacts[i].getID()); } results = connection.create(relations); } } catch (ConnectionException ce) { ce.printStackTrace(); } } To create a task using JuncionIdList, IDs are pulled from the related contacts and both the task and the TaskRelation records are created in one API call. If the TaskRelation fails, the task is rolled back because it’s all done in a single API call.public void createTaskNew(Contact[] contacts) { String[] contactIds = new String[contacts.size()]; for (int i = 0; i < contacts.size(); i++) { contactIds[i] = contacts[i].getID(); } Task task = new Task(); task.setSubject(“New Task”); task.setTaskWhoIds(contactIds); SaveResult[] results = null; try { results = connection.create(new Task[] { task }); } catch (ConnectionException ce) { ce.printStackTrace(); } }
Shared Field-Level Security for Event and Task Objects
Metadata deployments for the Task object should always include the field-level security for the Event object. Shared field-level security prevents each object from changing the field-level security of the associated object.
Metadata deployments that include field-level security for only one of either the Event or Task objects can cause field-level security changes to the other object that aren’t reflected in the metadata.
- If field-level security is enabled for one object, then field-level security is enabled for both objects.
- If field-level security is disabled for one object, then it’s disabled for both objects.
A missing entry in the metadata is treated as field-level security being disabled.
This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version.
-
TaskChangeEvent: Introduced in API version 44.0.
-
TaskFeed: Introduced in API version 20.0.