Posted: 27 Aug 2018 0:57 EDT Last activity: 27 Aug 2018 20:32 EDT
Inconsistent modal dialog behaviour
I wanted to display an error message in a modal window upon click of a button. I have got a repeating grid with a list of records and buttons at the bottom. To achieve this in the Actions there is an activity which runs upon clicking the button, in that I set a flag. And I have also configured the local Action when flag is set to true. In a happy path scenario when I click the button the status of the records get changed and page gets refreshed. But every time I pick the record (error scenario) after refresh the pop up is not displayed (even though the value is set to true in the tracer) and if I click once again it displays the popup. I'm not sure why is it inconsistent.
And for those who are facing this issue, request to read and follow each and every line suggested by Ujjwal as it is. Because I tried hiding it with when rule/expression which didn't work. At last I used the css and it worked. As shown in the screenshots I refreshed the section 1st which had the section included with the flag and this property is hidden through CSS (not through when or expression). And then configured the local action.