Posted: 27 Jul 2018 4:46 EDT Last activity: 2 Aug 2018 14:31 EDT
Possible Bug? Section's Body Visibility using Condition(when rule): "never", even though "Always" is selected.
While trying out the capstone exercise for PEGA CSA 7.3 Designing a User Interface, I have come across this unusual behavior while trying to hide a section.
Under Body visibility, I chose Condition(when rule) and typed in "never" in an attempt to hide the content. It worked as expected. However, when I tried to unhide it and chose "Always", content did not show up as expected. After some trial and error, I found out that I have to remove the "never" in Condition(when rule) even though it was not selected. It somehow overwrite the "Always" that was selected.
Moderator Edit-Vidyaranjan: moved from PSC to Academy
I am doing System Architect Essentials 7.3, Capstone Exercise: Designing a user interface, on Designing_a_user_interface_capstone_solution.pdf page 2.
The exercise introduces the use of "when condition" to hide certain sections that are not necessary to be displayed.
Capture1.PNG shows the original view.
Capture2.PNG is the section corresponding to this part.
The exercise wants us to hide the part below the dropdown since it is not necessary, using when condition "never".
Capture3.PNG: I mistakenly chose the wrong part to hide, clicked the gear icon for "Search for favorite area" in Capture2.PNG and changed body visibility.
Capture4.PNG is the result. Upon seeing this I knew I was wrong, so i changed body visibility back to "always" (which was the original state). This did not bring back the state shown in Capture1.PNG.
After some trial and error I realised that I have to remove the word "never" from the "when condition" choice (not selected) even though "always" choice is selected. Apparently this bug is only found on "body visibility" and not "visibility" in Capture3 when I tried to replicate it.
When you choose Always >> it is will be visible always.
When you chose Condition(when rule) >> the visibility depends upon the result returned by the when rule. In this case you cannot give any random text there. You will need to specify the when rule which is already created. May be you created a when rule with name "never" and it is returning some result.
If you are still unclear, please post screenshots so that we can help you to solve your issue.