Highlighted
Super Contributor.. Super Contributor..
Super Contributor..
542 views

Does AlertDef works for custom fields also?

Jump to solution

Does AlertDef works for custom fields also?

 

i have created a custome field for date field and configured an alert for it. To triger after 1 day from that date. But i dont see it in schedule or eventout for this alert record. The same AlertDef record is working for the field that OOB defined with the same condition.

 

Any Clue?

0 Likes
1 Solution

Accepted Solutions
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Re: Does AlertDef works for custom fields also?

Jump to solution

The issue have been fixed. The script for the dueDate time is updated to doAction("save"). Now the Alert Def is getting called. Previously i used doUpdate() to update dueDate field.

Also It works only when the  Object , phases and alert definintions conditions are set to true.

Many Thanks to all who advised with solutions. Solving this post.

 

View solution in original post

0 Likes
7 Replies
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: Does AlertDef works for custom fields also?

Jump to solution

Alert definitions are cached at startup. Restart the SM process that processes the alert (usually alert or change) and retest. 

Also, how have you enabled the alert? Is it for incidents and in the apm.category record, or for change and added to either the change phase or PD workflow phase?

----------------------------------------------------
Kudos - what, where, how, and why
Want Good Answers? Ask Good Questions...
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Re: Does AlertDef works for custom fields also?

Jump to solution

I need  this for Request Management -> line Items.

I have set the alerts in line item phases. Other alerts are working, but only the alerts with custom fields are not working.

And On update of line items also not working. It is working only for Add Line Items.

Our requirement is :- For a line item the target completion date  is set based on custom fields and there after it should fire an alert notification once it exceeds the target date.

 

0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: Does AlertDef works for custom fields also?

Jump to solution

What is the alert recalc condition for the phase (and for the object). If the alert recalc condition evaluates to true, the alerts will be reassessed at every save of the record in the phase. If it evaluates to false, changes in the record will not alter the scheduled alerts. 

----------------------------------------------------
Kudos - what, where, how, and why
Want Good Answers? Ask Good Questions...
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Re: Does AlertDef works for custom fields also?

Jump to solution

All the conditions in Object & phases are set to true. But it is not working for custom AlertDef only.

0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: Does AlertDef works for custom fields also?

Jump to solution

Please attach the alert definitions (as images or renamed so that they can be loaded into a test system and easily identified). Also include images of the reset/recalc conditions in object and phase records. 

----------------------------------------------------
Kudos - what, where, how, and why
Want Good Answers? Ask Good Questions...
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Re: Does AlertDef works for custom fields also?

Jump to solution

Attached the Object, phases and Alert definitions.

alert2.pNG is working , as the OOB defined fields have been used. AlertDefinition.PNG is not woring with dueDate field in the calc field.

dueDate is custom field having calculation written in format control of ocml.view.default

0 Likes
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Re: Does AlertDef works for custom fields also?

Jump to solution

The issue have been fixed. The script for the dueDate time is updated to doAction("save"). Now the Alert Def is getting called. Previously i used doUpdate() to update dueDate field.

Also It works only when the  Object , phases and alert definintions conditions are set to true.

Many Thanks to all who advised with solutions. Solving this post.

 

View solution in original post

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.