ObjectGears Help

           
Forum   ObjectGears (Version: 1.6.0.0)

Variables in notifications

List of possible notifications depends on the place from which the notification is called - class, import, export... The list hereinafter displays them in detail.

Variables when calling from script

When calling from a script by means of object OG.Email some functions have parameter variable. It is a Hashtable table, into which you can pass whatever parameter and use it in notification. However, this notification has to be called from the script where the variables are defined. Otherwise, they will not be available.

Variables when calling from class / query

Variables are available in rule Send notification

Name Description
DataRow.Url Link to a detailed form with the record.

Variables when calling from export

Variables are available when the notification is sent after processing the export. 

Parameter Description
Export.Id Returns internal identifier (Id) of the export.
Export.Name Returns export name.
Export.ResultRow Returns number of rows in the export.
Export.ResultStatus Returns export result.
Export.Person.Id Returns internal identifier (Id) of the user that executed the export.
Export.Person.FullName Returns display name of the user that executed the export.
Export.StartTime Returns date and time of the export start.
Export.EndTime Returns date and time of the export end.
Export.FileName Returns name of the exported file.
Export.ErrorMessage Returns error message from the export.
Export.DetailUrl Returns Url to the page with export detail.
Export.RunsUrl Returns Url to the page with an overview of the export runs.

 Variables when calling from import

Variables are available when the notification is sent after processing the import.

Parameter Description
Import.Id Returns internal identifier (Id) of the import.
Import.Name Returns import name.
Import.StartTime Returns date and time of the import start.
Import.EndTime Returns date and time of the import end.
Import.Person.Id Returns internal identifier (Id) of the user that executed the import.
Import.Person.Fullname Returns display name of the user that executed the import.
Import.Filename Returns name of the imported file.
Import.ResultStatus Returns import result.
Import.FileSize Returns size of the imported file.
Import.FileRowCount Returns number of rows in the import file.
Import.InsertRowCount Returns number of rows inserted into class from the import file.
Import.UpdateRowCount Returns number of rows updated in the class from the import file.
Import.DeleteRowCount Returns number of rows deleted from the class before import start.
Import.DeleteBeforeRowCount Returns number of rows deleted from the class, because they were not in the import file.
Import.DeleteAfterRowCount Returns number of rows deleted from the class, because they were in the import file.
Import.SetNullRowCount Returns number of rows for which NULL was set.
Import.ErrorMessage Returns error message from the import.
Import.DetailUrl Returns Url to the page with import detail.
Import.RunId Id of the import start.
Import.RunsUrl Returns Url to the page with an overview of the import runs.
Import.RunLogUrl Returns Url to the page with a detailed overview of a single import start.

 

This website is using cookies files to provide services and analyse visits. You agree with that by using this website.     Further information