Static ReadonlyAuthorizesTrue when the action authorizes its caller itself, so a public entry point such as the
RunAction mutation may run it for an authenticated user without an MJ: Action Authorizations link. Set it only on an action that either checks an authorization the caller
must hold, or reads and writes only with the caller's own permissions. Leave it false for an
action that acts with more authority than its caller, or that reaches data or sends messages
the caller chooses but could not otherwise reach.
The engine reads the marker only from the class that runs, never from its parent classes. A subclass that overrides a marked action must declare the marker again.
ProtectedaddAdd an output parameter to the result
The action parameters
Output parameter name
Output parameter value
ProtectedbuildBuild filter expression for job queries
Object containing optional filter criteria
SQL WHERE clause string
ProtectedgetGet boolean parameter with default value
The action parameters
Parameter name to find
Default value if parameter is missing
The boolean parameter value or default
ProtectedgetGet date parameter
The action parameters
Parameter name to find
The date value or undefined
ProtectedgetGet numeric parameter with default value
The action parameters
Parameter name to find
Default value if parameter is missing or invalid
The numeric parameter value or default
ProtectedgetGet parameter value by name (case-insensitive)
The action parameters
Parameter name to find
The parameter value or undefined
ProtectedInternalUpdates an existing scheduled job
The action parameters containing:
ActionResultSimple with:
ProtectedisValidate job status value
The status value to validate
True if the status is valid
ProtectedloadLoad a scheduled job entity by ID with error handling
The ID of the job to load
The user context for the operation
Optionalprovider: IMetadataProviderObject with either the loaded job or an error result
Executes the action with the provided parameters.
The action execution parameters including context
Promise resolving to the action result
ProtectedvalidateValidate cron expression format
The cron expression to validate
Object with valid flag and optional error message
Update Scheduled Job action. Updates an existing scheduled job with new values for specified fields. Only provided fields will be updated; omitted fields remain unchanged.
Example