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 } } } |
Time Definition Examples
Everyday at 10:20 | Timed: { Period: { PeriodType: "Day" }, Offset: { Hours:10, Minutes:20 } } |
---|---|
Every Friday at 17:00 | Timed: { Period: { PeriodType: "Week" }, Offset: { Days:6 , Hours:17, Minutes:0 } } |
Second calendar day of each month, 15:00 | Timed: { Period: { PeriodType: "Month" }, Offset: { Days:2 , Hours:15, Minutes:0 } } |
Fourth business day of the month 09:00 | Timed: { Period: { PeriodType: "Month" }, Offset: { Days:4 , Hours:9, Minutes:0 }, DayCounting:"WorkDays" } |
The third quarter of every year | Timed: { Period: { PeriodType: "Quarter", Value:3 } } |
The first working day of every January 09:00 | Timed: { Period: { PeriodType: "Year" }, Offset: { Hours:9, Minutes:0 }, DayCounting:"WorkDays" } |
15:00 on the first Tuesday of every month | Timed: { Period: { PeriodType: "Mounth" }, Offset: { Days:3, Hours:15, Minutes:0 } } |
The first Tuesday of the month or the first business day after 15:00 | Timed: { Period: { PeriodType: "Mounth" }, Offset: { Days:3, Hours:15, Minutes:0 }, DayCounting:"WorkDays" } |
Every hour between 2 dates | Timed: { Start:"2019-12-02", End:"2019-12-10", Period: { PeriodType: "Hour" } } |
Every 15 minutes for 2 hours every day | Timed: { Start:"18:00", End:"24:00", Period: { PeriodType: "Minute", Value:15 } } |