Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
How to change defaultPage for a flow conditionally in VBCS ? — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to change defaultPage for a flow conditionally in VBCS ?

Accepted answer
12
Views
1
Comments

Summary:

Hi,

We have a flow which contains 2 pages. We need to change the default page based on an application level variable. How can we achieve this ?

Version (include the version you are using, if applicable):

21.04.2

Code Snippet (add any code snippets that support your topic, if applicable):

Below is the json code -

 {"flowModelVersion": "18.4.5",

    "id": "contact-support",

    "description": "Flow main",

 "defaultPage":"cs-localeandassist"

}

We need default page to be changed automatically with below condition -

   "defaultPage": "{{$application.variables.displayGetHelpWithBlade ? 'cs-localeandassist' : 'cs-contactassist' }}",

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!