[Intersystems 2017] Use the email alert request
Hello,
I used the operation :
what is the best way to do it?
I tried to add informations in OnAlertRequest method as below but I need to change mail operation from all namespaces...
Hello,
I used the operation :
what is the best way to do it?
I tried to add informations in OnAlertRequest method as below but I need to change mail operation from all namespaces...
Some ideas:
What other data do you need?
Also, please post your code as text.
Thanks, I need to get the url of message viewer screen with the session ID .
For example : http://localhost:57772/csp/svcptl/EnsPortal.VisualTrace.zen?SESSIONID=40241.
It is possible ?
You already have a value of SessionId, so concatenate the rest?
To get port and host call:
You can do it in three ways:
1 -
set ^mtemperro($ZNSPACE,..%PackageName()_"."_..%ClassName(),$horolog) = mensagem_" Erro CACHE: "_$zerror_" - "_$SYSTEM.OBJ.DisplayError()
2 -
Throw ##class(%Exception.General).%New("Falha ao sinalizar o lançamento do PDA como rastreado.",1,..%ClassName()_".upByRastreado","Informe ao suporte sobre o problema.").Log()
3 - Declare in your class an exception variable
#dim exception As% Exception.AbstractException
catch exception {
do exception.Log()
}
Then just check the cache administration portal:
System Operation-> System Logs-> Application Error Log