The SysInfoAction class provides the ability to add an action to the standard infolog. The user can then perform the action by clicking the infolog. The SysInfoAction class can be extended to perform custom actions e.g. opening a file using the default application.
Suppose my form to be open is Form2.
When I get an infolog like “This is demo of infolog”, one button should be visible on left side of clear button named as “Show” which appears in infolog.
Lets write a job showForm.
static void showForm()
SysInfoAction_Formrun infoAction = SysInfoAction_Formrun::newFormname(formStr(Form2));
info(“This is demo of infolog”,””,infoAction);
run this job, infolog will appear with show button click on it and Form2 will get open.