How to change defaultPage for a flow conditionally in VBCS ?
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' }}",
Tagged:
0