Cadet 1st Class
Cadet 1st Class
48 views

UI rule to show message for only one specific button

Need to write a rule for one specific action (APPROVE button) action button

Requirement : If Project having open associated issue and user click APPROVE button to close the project , It will redirect to same page and pop up one message to close the open issue.

I have created  a field which will store "abc" as message in APPROVE Button path and in UI Rule (On Page Load ) i have given the condition that filed should store "abc" message . in other 4 action button i am removing "abc" message using command , so Popup message is not appearing for other 4 buttons as Rule condition is not satisfied.

Rule is working fine for all action buttons but problem is that when user click approve button for project having open issue it is redirect same page with pop up message but after whenever the page is refresh or click save button that message is also populating because rule is set on On page load and field have "abc" message. both the condition is satisfying in Save button and when page is refreshed.

My query is how to clear the message in the filed on Decision step, so that pop up message will not populate on Save button and on Refresh the page (i.e on page load).

0 Likes
1 Reply
Cadet 3rd Class
Cadet 3rd Class

1, Use workflow commands to set the flag of 'abc' when there are open issues.

2, clear the flag with 'Apply Before Save' SQL Rule

Still there will be message popup when page is refreshed, but I think it's acceptable.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.