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 example assumes you have set up a task that asks users what is their preferred work mode when they to return to work. You have configured a configurable form using the journey descriptive flexfield to capture the response to the question. If the response is O (Office), you want the condition to activate a task where they book their office space and if the response is H (Hybrid), you want the condition to activate the task that records their remote working preference.

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

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