Topic
  • 5 replies
  • Latest Post - ‏2013-09-30T11:16:45Z by d.potam
d.potam
d.potam
38 Posts

Pinned topic question about hook

‏2013-09-24T07:58:56Z |

When i use notification hook i must set it on each Action which i want
notify.

Instead when i use Email_rule package, then some functions starting on
Action which i want notify, but this actions has not notification hook.

Now i have trouble with charset in email from Email_rule package. Header in
email is say that content is in "cp1251", but realy it in "koi8-r".

I just want to try create some package or some global hook which will send
email. How  i can set attribute to it for starting on each Action?

  • pdubovitsky
    pdubovitsky
    376 Posts

    Re: question about hook

    ‏2013-09-24T11:42:35Z  

    You could try Email Notification package.
    https://cqadmin.org/wiki/ClearQuest_Email_Notification_Package

    Pavel

  • d.potam
    d.potam
    38 Posts

    Re: question about hook

    ‏2013-09-24T13:11:40Z  

    What does mean message after trying create new Email_Notification_Rule in CQ client?

    ERROR! Execution of a hook failed during the action Submit. It was the FIELD_DEFAULT_VALUE hook of the field Security_Context, attached to the Email_Notification_Rule "AdEntity@0x0103f068,dbid=34265730,id='tfdb800711298'". The reason for the failure was:

    Undefined subroutine &main::GetProperty called at main::scurity_context_DefaultValue line 171.

  • pdubovitsky
    pdubovitsky
    376 Posts

    Re: question about hook

    ‏2013-09-24T13:28:44Z  
    • d.potam
    • ‏2013-09-24T13:11:40Z

    What does mean message after trying create new Email_Notification_Rule in CQ client?

    ERROR! Execution of a hook failed during the action Submit. It was the FIELD_DEFAULT_VALUE hook of the field Security_Context, attached to the Email_Notification_Rule "AdEntity@0x0103f068,dbid=34265730,id='tfdb800711298'". The reason for the failure was:

    Undefined subroutine &main::GetProperty called at main::scurity_context_DefaultValue line 171.

    Please use the following URL for all package support related questions.

    http://forum.cqadmin.com/

    Thank you,

    Pavel

  • d.potam
    d.potam
    38 Posts

    Re: question about hook

    ‏2013-09-24T13:39:35Z  

    Please use the following URL for all package support related questions.

    http://forum.cqadmin.com/

    Thank you,

    Pavel

    The url to thread with the same question is http://forum.cqadmin.org/viewtopic.php?f=2&t=243

  • d.potam
    d.potam
    38 Posts

    Re: question about hook

    ‏2013-09-30T11:16:45Z  

    You could try Email Notification package.
    https://cqadmin.org/wiki/ClearQuest_Email_Notification_Package

    Pavel

    Yes, great work, Pavel!

    Using this package and place special header:


    Content-type:text/html; charset = cp1251

     

    and everything all right

    Updated on 2013-09-30T11:17:20Z at 2013-09-30T11:17:20Z by d.potam