Creation of Microsite failing in NBAM
Creating a new Microsite in Production environment fails with the below error on the screen.
Label:** .pyStages(2).pyProcesses(1).pyFlowName: Page1 does not exist or is not a valid entry for this ruleset and its prerequisites .pyStages(5).pyProcesses(1).pyFlow Name: Confirmation does not exist or is not as valid entry for this ruleset and its prerequisites.
Steps to Reproduce
Create a new Microsite in Next-Best-Action Marketing (NBAM) 7.11.1.
Creating a microsite automatically creates a number of flows. When these flows are generated, they have a number of properties that are set by the rule Rule-Obj-Flow.pyDefault.
One of these Properties is ‘.pyDraftModeON’ and it is set to true which makes all new flows start in draft mode.
In a Production system, flows in draft mode are not allowed. If the draft mode is true; the java generation fails.
This problem can be resolved locally by following the below steps:
1. Open the 'Rule-Obj-Flow.pyDefault' data transform rule.
2. Use the 'Save As' option to create a local copy of this rule in a customization RuleSet.
3. Change the setting for the Property 'pyDraftModeON' to false in the local copy.
4. Save the changes and check-in.