Skip to main content
Version: OpCon (Cloud - Current)

SMADDI Message Types

Theme: Configure
Who Is It For? System Administrator, Automation Engineer

What Is It?

Each input file must contain a <msgtype> element describing the type of SMADDI message. The SMADDI service and stored procedures support the following message types:

Message TypeDescription
add_caldateAdds new date(s) to an OpCon calendar. For more information, refer to add_caldate and del_caldate Element Structures.
del_caldateDeletes date(s) from an OpCon calendar. For more information, refer to add_caldate and del_caldate Element Structures.
new_scheduleAdds a new schedule to the Master tables of the OpCon database. For more information, refer to new_schedule Element Structure.
new_tokenAdds a new global property to the Master tables of the OpCon database. For more information, refer to new_token and update_token Element Structures.
new_variableAdds a new threshold or resource to the Master tables of the OpCon database. For more information, refer to new_variable and update_variable Element Structures.
update_tokenUpdates a global property value in the Master tables of the OpCon database. For more information, refer to new_token and update_token Element Structures.
update_variableUpdates a threshold/resource in the Master tables of the OpCon database. For more information, refer to new_variable and update_variable Element Structures.
new_dailyAdds a new job to the Daily Tables of the OpCon database. For more information, refer to new_daily Element Structure.
new_masterAdds a new job to the Master tables of the OpCon database. For more information, refer to new_master Element Structure.
add_frequencyAdds one or more frequencies to a schedule or job. For more information, refer to add_frequency Element Structure.
add_dependencyAdds a new job, threshold, or resource dependency to a job. If a schedule date is specified, the dependency applies to the daily tables. If no schedule date is specified, the dependency applies to the master and can be associated with a frequency. For more information, refer to add_dependency Element Structure.
add_documentationAdds documentation for a schedule or job. For more information, refer to add_documentation Element Structure.

Configuration Options

SettingWhat It DoesDefaultNotes

FAQs

Q: What is the purpose of the <msgtype> element in a SMADDI input file?

The <msgtype> element identifies the type of SMADDI message in each <msg> transaction. The SMADDI service and stored procedures use it to determine which data elements are expected and which database tables to update.

Q: What is the difference between new_master and new_daily message types?

new_master adds a new job to the Master tables of the OpCon database, making it a permanent part of the schedule definition. new_daily adds a new job to the Daily Tables, meaning it applies only to a specific schedule date's automation.

Q: How do you update an existing global property value using SMADDI?

Use the update_token message type to update a global property value in the Master tables. To add a new global property, use new_token instead.

Glossary

SMADDI (SMA Dynamic Data Input): An optional OpCon component that dynamically updates the OpCon database using XML text files placed in monitored input directories. SMADDI uses a Windows service and stored procedures to validate and commit the data.

Daily Tables: The OpCon database tables that hold the active, date-specific instances of schedules and jobs built for execution. Changes to daily tables affect only the current day's automation.

Master Tables: The OpCon database tables that hold the permanent definitions of schedules and jobs. Changes to master tables affect all future schedule builds.

Frequency: A set of rules that defines when a job or schedule is eligible to run, based on calendar rules, day-of-week settings, period offsets, and other timing criteria.

Threshold: A numeric variable stored in the OpCon database used to control job execution. Jobs can be made dependent on threshold values, and OpCon events can update threshold values at runtime.

Token (Global Property): A named value stored in the OpCon database, referenced in job definitions and events using [[PropertyName]] syntax. Tokens pass dynamic values — such as dates, file paths, or counts — into automation workflows.

Calendar: A named collection of dates in OpCon used by schedules and frequencies to determine when automation runs or is excluded. Calendars can represent holidays, working days, or any custom date set.

Resource: A numeric variable in OpCon representing a finite pool. Jobs can be configured to require a set number of resource units to run, limiting concurrent executions and preventing resource contention.