Informational: fires after a new routine (and its recipients) was persisted.
Tree config for the agent-category branches.
Tree config for the pickable agents (built at load time — excludes Realtime types).
Cancelable: fires before a NEW routine is saved for the first time.
Emitted when the user cancels without saving.
ReadonlyChannelReadonlyDayReadonlyDayReadonlyDayReadonlyNotifyIf specified, this provider will be used for communication and for all metadata purposes. By default, if not provided, the Metadata and RunView classes are used for this and the default GraphQLDataProvider is used which is connected to the same back-end MJAPI instance as the Metadata and RunView classes. If you want to have this component connect to a different MJAPI back-end, create an instance of a ProviderBase sub-class like GraphQLDataProvider/etc, and configure it as appropriate to connect to the MJAPI back-end you want to use, and then pass it in here.
ReadonlyRecipientEmitted after a successful save (routine + recipients persisted) — create AND edit.
ReadonlyScheduleMinute past each hour for the hourly preset.
"HH:MM" run time for daily/weekly/monthly presets.
Tree selection binding (single agent).
Progressive disclosure: the basic view (name / agent / message / frequency) covers the 80% path; everything else lives behind this toggle. Auto-expands when editing a routine that already uses advanced settings.
The selected agent's ID (TargetType is implicitly 'Agent').
StaticɵdirStaticɵfacTrue when editing an existing routine (vs. creating a new one).
Returns either the default Metadata provider or the one specified in the Provider property, if it was specified
ID of the routine to edit, or null to create a new one.
Helper text under the RoutineType toggle.
Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified
Returns either the default RunReport provider or the one specified in the Provider property, if it was specified
Returns either the default RunView provider or the one specified in the Provider property, if it was specified
Live human-readable preview of the schedule being built.
IconClass of the currently selected agent (robot fallback).
The selected agent as a CompositeKey for the tree-dropdown's Value binding.
Name of the currently selected agent (empty when none).
Active skills available for pre-activation.
Moves a recipient up/down — the saved Sequence is the row index.
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.
When the row's mode flips, clear the other identity field.
Toggles a skill in/out of the RequestedSkillIDs selection.
Create/edit form for a User Routine. Routines run an AI AGENT on a schedule (TargetType is implicitly 'Agent') — the agent is chosen from a categorical tree grouped by Agent Category, showing each agent's own IconClass, with Realtime-type agents excluded (interactive-only). Also covers the initial message, optional JSON payload, AI Skills pre-activation, cron presets + advanced escape hatch, IANA timezone, activation window, notification settings, and the ordered recipients list.
Reusable (Generic) component: no Router, no page chrome. The host mounts it (slide-in / dialog / inline), passes
RoutineID(null = create), and reacts toSaved/Cancelledplus the cancelableBeforeRoutineCreated/AfterRoutineCreatedpair for new routines. All persistence flows through MJ entity objects with explicitSave()boolean checks; failures surfaceLatestResult.CompleteMessage. Cached routine/recipient data comes from UserRoutineEngine.