Highlighted
Honored Contributor.
Honored Contributor.
480 views

Need to suppress the update pop up

Jump to solution

Hi Experts,

 

I am using SM-9.40.

While making any changes in incident open and close forms, it is asking for an update.

My requirement is to suppress the pop up message asking for update while editing a textbox and a checkbox.

Could you please help me to resolve this issue.

 

Any Suggestions are appreciated.

 

Thanks & Regards,

Sandhu Mol

0 Likes
1 Solution

Accepted Solutions
Highlighted
Honored Contributor.. Honored Contributor..
Honored Contributor..

Re: Need to suppress the update pop up

Jump to solution

The validation to see if an update is required, is managed by the Object definition. This is kind of an "all or nothing", but there are some workaround options.

To start with the mechanism: The Object defines whether or not an update needs to be provided IF there is no activityaction that triggered on the update (red circle):

activity-action-req-object.png

 

 You could opt to uncheck this checkbox, and write your own validation for Incidents, only requiring some information in $pmc.actions under certain conditions.

OR

you could define an activityaction for incidents, that creates an update with something like "Ticket Updated" under the conditions you don't want the validation to happen.

activityactions-example.jpg

In this example, the system will generate an activity with the title "Regular Updates" and the body text (array) as stated at the end, if there is no update provided AND some checkbox value has changed. You would need to positively identify all updates that qualify and but them in the brackets with an OR statement.

For instance:

null($pmc.actions) and (custom.checkbox in $L.file~=custom.checkbox in $L.file/save or random.value in $L.file~=random.value in $L.file.save or problem.candidate in $L.file~=problem.candidate in $L.file.save)

Hope this helps!

View solution in original post

2 Replies
Highlighted
Honored Contributor.. Honored Contributor..
Honored Contributor..

Re: Need to suppress the update pop up

Jump to solution

The validation to see if an update is required, is managed by the Object definition. This is kind of an "all or nothing", but there are some workaround options.

To start with the mechanism: The Object defines whether or not an update needs to be provided IF there is no activityaction that triggered on the update (red circle):

activity-action-req-object.png

 

 You could opt to uncheck this checkbox, and write your own validation for Incidents, only requiring some information in $pmc.actions under certain conditions.

OR

you could define an activityaction for incidents, that creates an update with something like "Ticket Updated" under the conditions you don't want the validation to happen.

activityactions-example.jpg

In this example, the system will generate an activity with the title "Regular Updates" and the body text (array) as stated at the end, if there is no update provided AND some checkbox value has changed. You would need to positively identify all updates that qualify and but them in the brackets with an OR statement.

For instance:

null($pmc.actions) and (custom.checkbox in $L.file~=custom.checkbox in $L.file/save or random.value in $L.file~=random.value in $L.file.save or problem.candidate in $L.file~=problem.candidate in $L.file.save)

Hope this helps!

View solution in original post

Highlighted
Honored Contributor.
Honored Contributor.

Re: Need to suppress the update pop up

Jump to solution

Your second suggestion worked.

I gave appropriate conditions in the activity action, now the particular update popup is not showing for the fields which I mentioned.

 

Thank you for your valuable replay.

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.