Example: Create Condition Rules Using Calculated Fields for Student Residency Event
This example illustrates how to create conditional fields on the
Student Residency Event
business process to
initiate another questionnaire before the residency review.
You work in the admissions office and view the responses to the residency questionnaire to determine residency at Alma Mater University. If the applicant answers
Yes
to In-state resident on the initial questionnaire, then you want the business process to send
another followup questionnaire.
You create 3 calculated fields in sequential order:
True/False Condition
, Extract Single Instance
, and Lookup Related Value
. You then add a second questionnaire step to the business rule.
You add a conditional rule to the step using the calculated fields. Ensure that the conditional rule step is before the
Change Student Residency
step.- Create a questionnaire about in-state residency. Example:Was your high school in state?
- Security:Customer Field Managementdomain in the System functional area.
- Access theCreate Calculated Fieldtask.
- Create aTrue/Falsecondition.
- EnterResidency - High School In Statefor the Field Name.
- Enter or select these values:OptionDescriptionBusiness ObjectSelectQuestionnaire Answer.FunctionSelectTrue/False Condition.
- ClickOK.
- Enter or select these values on theCalculationtab:OptionDescriptionAnd/OrSelectAnd.FieldSelectQuestion.OperatorSelectIn the selection list.Comparison TypeSelectValue specified in this filter.Comparison ValueSelectWas your high school in state?that you created.
- ClickOK.
- ClickDone.
- Access theCreate Calculated Fieldtask.
- Create anExtract Single Instancecondition.
- EnterResidency – Extract Was High School In Statefor the Field Name.
- Enter or select these values:OptionDescriptionBusiness ObjectSelectAction Event.FunctionSelectExtract Single Instance.
- ClickOK.
- Enter or select these values:OptionDescriptionCalculationtabForSource Field, selectQuestionnaire Answers for Event.ForCondition, selectResidency - High School In State. This is theTrue/Falsecalculated field that you created in Step 1.ForSort Field, selectAny is True. You can leave sorting on the default selection.
- ClickOK.
- ClickDone.
- Access theCreate Calculated Fieldtask.
- Create aLookup related value.OptionDescriptionField NameEnterResidency – Lookup Response V2.Business ObjectSelectAction Event.FunctionSelectLookup Related Value.ClickOK.CalculationtabForLookup Field, enterResidency – Extract Was High School In State. This is theExtract Single Instancecalculated field that you created in Step 2.ForEnter Return Value, selectQuestion Multiple Choice Answer.
- ClickOK.
- ClickDone.
- From the related actions menu of theStudent Residency Eventbusiness process, select .Create and add the condition rule as a step on business object.
- Verify you have aConfigure Questionnairestep for the residency questionnaire after the initiation step.
- Add anotherConfigure Questionnairestep before theChange Student Residencyaction step.
- ClickOK.
- From the related actions (search icon) for the newConfigure Questionnairestep, select .
- ClickOK.
- Add a row for a new rule.OptionDescriptionRuleSelectCreate Condition Rule.
- ClickOK.
- Enter or select these values:OptionDescriptionDescriptionEnterResidency - High School In State is Yes.Source Field or Condition RuleSelectResidency - Lookup Response V2.Relational OperatorSelectin the selection list.Comparison TypeSelectValue Specified in this filter.Comparison ValueSelect the valueYes (Was your high school in state)?
- ClickOK.
- ClickDone.
When the applicant reports on the initial questionnaire that their high school is in state, the business process sends them a follow up questionnaire to complete.
After you've defined your calculated fields and configured the business process, you can test it to make sure it’s giving you the correct results. Initiate a residency review for a student to launch the
Student Residency
business process.