Loading
Salesforce now sends email only from verified domains. Read More
Public Sector Solutions Documentation
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Create Job Application Records by Using an Omniscript

          Create Job Application Records by Using an Omniscript

          Design an Omniscript that creates an application form and an action plan that adds intake form sections to the application form.

          Required Editions

          View supported product editions.

          Here's a sample outline for the Omniscript.

          Element Description
          Input: ContextID The record ID of the recruitment posting from where an applicant begins the application process.
          Data Mapper Extract Action: RecruitmentGetApplicantAccountID Use the RecruitmentGetApplicantAccountID to get the ID of the applicant’s user account.
          Set Values Action: SetUsageType Define an ApplicationUsageType element that has the value EmployeeRecruitment.
          Data Mapper Post Action: CreateApplicationForm Create a Data Mapper that adds an application form record. In the application form record, set AccountId to the personAccountId from RecruitmentGetApplicantAccountID, and UsageType to ApplicationUsageType.
          Data Mapper Extract Action: GetRecruitmentRequisitionId Create a Data Mapper that finds the recruitment posting with an ID that matches the ContextID. From the recruitment posting, get the RecruitmentRequisitionId.
          Data Mapper Post Action: CreateApplicationFormRelation Create a Data Mapper that adds an application form relation record and links the application form and recruitment requisition through the record.
          Data Mapper Extract Action: GetActionPlanTemplateId Create a Data Mapper that finds the recruitment requisition with an ID that matches the RecruitmentRequisitionId. From the recruitment requisition, get the ActionPlanTemplateId.
          Data Mapper Extract Action: GetActionPlanTemplateVersionDetails Create a Data Mapper that finds the action plan template version with an ActionPlanTemplateId that matches the ActionPlanTemplateId from GetActionPlanTemplateId. From the action plan template version, get the Id and Name.
          Set Values Action: SetActionPlanProperties

          Define these elements.

          • TypeOfActionPlan = Industries
          • StateOfActionPlan = In Progress
          • StartDateOfActionPlan = NOW(‘MM/dd/yyyy’)
          Data Mapper Post Action: CreateActionPlan

          Create a Data Mapper that adds an action plan record. In the action plan record, set these fields.

          • ActionPlanState = StateOfActionPlan
          • ActionPlanTemplateVersionId = ActionPlanTemplateVersionId from GetActionPlanTemplateVersionDetails
          • ActionPlanType = TypeOfActionPlan
          • StartDate = StartDateOfActionPlan
          • TargetId = DRId_ApplicationForm from CreateApplicationForm
          Navigate Action: GoToApplicationForm

          Define these properties.

          • Page Reference Type = Record
          • Object API Name = ApplicationForm
          • Record Action = Edit
          • Record ID = %DRId_ApplicationForm%
           
          Loading
          Salesforce Help | Article