Re: Approval notification after 3 days of Planned start. (701 Views)
Reply
Advisor
ubnormal
Posts: 20
Registered: ‎07-15-2013
Message 1 of 10 (708 Views)
Accepted Solution

Approval notification after 3 days of Planned start.

Hello all

 

I need a solution as it can be implemented, I tryed already do it thrue alert, but i don't know how to attach alert into phase in change management.

 

So i will be glad to hear other ways to goal this issue.

 

But first of all - i need to know - how i can use alert definition in this task with complete guide.

 

Thank you!

Honored Contributor
Piku
Posts: 4,072
Registered: ‎06-17-2010
Message 2 of 10 (701 Views)

Re: Approval notification after 3 days of Planned start.

Hi,

To place the alert open the respective phase and in "Alerts/Open and close behavior" Tab there is field where you can mention any numbers of alerts.

Create alerts by defining fields like below,
Name : <Any desired>
Schedule cond: open in $file=true
Schedule class : alert
Alert cond : open in $file=true
calc type : user field in record + interval
cal field : planned.start
cal interval : 3 00:00:00

In update info tab mentioned your notification name which will deliver mail to user.

hth,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Assign Kudo, if found post useful and mark it accepted if solves the issue.
http://h30499.www3.hp.com/t5/Tips-and-Tricks/Kudos-what-where-how-and-why/m-p/5677925#U5677925
Advisor
ubnormal
Posts: 20
Registered: ‎07-15-2013
Message 3 of 10 (655 Views)

Re: Approval notification after 3 days of Planned start.

Hello Piku !

 

I did all what you say, and create notification, bound it into alert, create script for logging all changes by my alert.

 

Problem is.. that alert works fine, log reported that alert is finished, but notification is not sended to recipients..

I watched in "eventout" - there was nothing.

I check all parameters that i previously recorded in my created alert and notification - all parameters through RAD Debugger displayed so as to need.

 

I don't know where I have to check...

 

 

Honored Contributor
Piku
Posts: 4,072
Registered: ‎06-17-2010
Message 4 of 10 (651 Views)

Re: Approval notification after 3 days of Planned start.

then you have to check what are condition etc are placed in notification.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Assign Kudo, if found post useful and mark it accepted if solves the issue.
http://h30499.www3.hp.com/t5/Tips-and-Tricks/Kudos-what-where-how-and-why/m-p/5677925#U5677925
Advisor
ubnormal
Posts: 20
Registered: ‎07-15-2013
Message 5 of 10 (647 Views)

Re: Approval notification after 3 days of Planned start.

Hello again.

 

Piku, let me attach some screenshots into this topic.

All of them contain information about the settings that are now prescribed in the notification.

 

Please, if you can advice, can you tell me - where is my mistake?

Honored Contributor
Piku
Posts: 4,072
Registered: ‎06-17-2010
Message 6 of 10 (638 Views)

Re: Approval notification after 3 days of Planned start.

here you have only one valid line and here you are calling js which result should be true to deliver mail .hence you to ensure that js is returning true value when expected.

hth,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Assign Kudo, if found post useful and mark it accepted if solves the issue.
http://h30499.www3.hp.com/t5/Tips-and-Tricks/Kudos-what-where-how-and-why/m-p/5677925#U5677925
Occasional Advisor
JP Arnold
Posts: 10
Registered: ‎11-15-2010
Message 7 of 10 (630 Views)

Re: Approval notification after 3 days of Planned start.

[ Edited ]

I agree with Piku. To verify that the notification is even being called I would make the statement true. This will let you know if your statement is being called. If the Notification fires, then there is an issue with the condition of the notification.

 

One other thing, looking at the first picture. It looks like you are only calling the JS, but are not defining a function with the JS to be called.

Advisor
ubnormal
Posts: 20
Registered: ‎07-15-2013
Message 8 of 10 (602 Views)

Re: Approval notification after 3 days of Planned start.

Thank you all.

 

Notifications now sending correctly.

 

BTW - can you tell me how to make this allert to work once, while  current.phase started ?

Need to do this alert workable after three days, if Change on approval phase will not be approved after three days have passed since the change of phase.

 

Thank you!

Occasional Advisor
JP Arnold
Posts: 10
Registered: ‎11-15-2010
Message 9 of 10 (586 Views)

Re: Approval notification after 3 days of Planned start.

If you want you Alert to for fire off again with no user interactions happened. I would say you should created a 2nd alert definition and set the interval time to be + 3 00:00:00. Check to see is the change is still approval.status=pending

 

Not sure if that is what you are asking, but hope it helps some.

 

thanks

Advisor
ubnormal
Posts: 20
Registered: ‎07-15-2013
Message 10 of 10 (565 Views)

Re: Approval notification after 3 days of Planned start.

[ Edited ]

Piku, Arnold - thank you 

 

Marked complete post of Piku as a solution.

need add to solution one thing - we need to create custon field in "cm3r" table for record "datetime" into this field on phase change.

Later we will use this custom field into our alert as a field for the calculations +3 00:00:00 - 3 days after phase is fire.

 

Thank you all for assist in solution of this issue.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.