Example of Activating Journey Tasks Based on Input to a Configurable Form
Let’s take a look at how you can activate a dependent task based on the response provided by the user in a configurable form segment.
This image illustrates the scenario when a task is activated based on the user's response to a configurable form.
![Activation based on response to configurable form](images/per-activate-task-config-form.png)
This sample formula takes the descriptive flexfield segment as input to branch to activate other tasks. If the response to that segment in a configurable form is O, it activates the book office space task.
INPUTS ARE ATTRIBUTE1(text)
DEFAULT FOR L_ATTR IS 'H'
ELIGIBLE = 'N'
L_ATTR = ATTRIBUTE1
IF L_ATTR = 'O' THEN
(
ELIGIBLE = 'Y'
)
ELSE
(
ELIGIBLE = 'N'
)
RETURN ELIGIBLE
This sample formula takes the descriptive flexfield segment as input to branch to other tasks. If the response to that segment in a configurable form is H, it activates the task to store the remote working preference.
INPUTS ARE ATTRIBUTE1(text)
DEFAULT FOR L_ATTR IS 'O'
ELIGIBLE = 'N'
L_ATTR = ATTRIBUTE1
IF L_ATTR = 'H' THEN
(
ELIGIBLE = 'Y'
)
ELSE
(
ELIGIBLE = 'N'
)
RETURN ELIGIBLE