In GEODI 5.1 and above versions, an automatic notification can be provided when a searched phrase is encountered.
Tasks to be run at times specified with jSettings files to be placed in Settings/Notifications/TimedNotification folder and emails to be sent can be specified.
There is no Macro object in the definition to be placed in this folder. Geodi/Mobidi Office is application-independent. If there is a subreport to be used, the objects to be referenced must access itself via Context .
Event information can be accessed with c.GetHttpItem("NoticifationArgs") in environments that can use macros.
General E-mail sending (Factory.ActionFactory: TimedSendMail object)
Description | It is used to send emails at the specified time. |
---|---|
Request | { "__type": "Factory.ActionFactory:TimedSendMail", "BodyReport": "", "Attachments": [ { "Report": "", "DisplayName" : "" } ], "Subject": "..", "ToMail": "...", "Timed": { "Period": { "PeriodType": "Week", "Value": 1 } "Offset" : { "Days": 6, "Hours":22 , Minutes:30 } } } |
Definition Values |
|
Example | { "__type": "Factory.ActionFactory:TimedSendMail", "BodyReport": "%App%\\Settings\\Notifications\\Templates\\MySimpleReport.html", "Subject": "Informative message", "ToMail":"....;....", "Timed": { "Period": { "PeriodType": "Week", "Value": 1 } "Offset" : { "Days": 6, "Hours":22 , Minutes:30 } } } |
Running a command line task (Factory.ActionFactory: TimedRunCommand object)
Description | It sends e-mails when the conditions to be determined are met. |
---|---|
Request | { "__type": "Factory.ActionFactory:TimedRunCommand", "FileName": "", "Arguments": "", "UseShellExecute": true/false, "CreateNoWindow": true/false, "WorkingDirectory":"", "UserName":"", "Password":"", "Timeout":0; "Timed": { "Period": { "PeriodType": "Month", "Value": 3 } "Offset": { "Days": 20, "Hours":10 , Minutes:0 } } } |
Definition Values |
|
Example | { "__type": "Factory.ActionFactory:TimedRunCommand", "FileName":"%SystemX86%\\cmd.exe ping 127.0.0.1 -r 9", "Timed": { "Period": { "PeriodType": "Day", "Value": 1 } "Offset": { "Hours":10 , Minutes:0 } } } |