Previous versions of Magic Model Analyst did not support execution of incomplete or dummy models. From the 18.4 version and above, it will be possible to execute incomplete or dummy models.
Previously, the execution would halt. Now, if any input pin does not have an accompanying value, the Behavior of the Action will not be to halt execution, instead a null value token will be passed to that pin, or when simulating a CallOperationAction which does not have a target pin, a runtime object, which is the context of the Activity will be selected as the target. Null Value tokens do not trigger flow animation on triggered behaviors if the input pin multiplicity's lower bound is 0.
The information on this page describes the Behavior of an Action when any of the input or output pins, or any properties of the Action, are not specified or not present.
The Actions which are currently supported are as follows
|
An add structural feature value Action is a write structural feature Action for adding values to a structural feature. When any input pin is unspecified or empty, or when a Structural Feature is unspecified or does not exist, this Action's Behavior will have the rules as follows
If an Object input pin is empty or unspecified, the runtime context of the Activity execution will be used to add the value to the Structural Feature of the context.
A read structural feature Action is a structural feature Action that retrieves the values of a structural feature. When any of the input or output pins are unspecified or not present, this Action's Behavior will have the rules as follows
Call Behavior Action is a call Action that invokes a Behavior directly rather than invoking an operation that invokes the Behavior. When any of the Argument pins are either unspecified or not present, this Action's Behavior will have the rules as follows
A call operation Action is an Action that transmits an operation call request to the target object, where it may cause the invocation of associated Behavior. When any input or output pin is unspecified or not present, this Action's Behavior will have the rules as follows
If the Target input pin is not specified, the runtime context of the Activity execution will be used as the target.
Send signal Action is an invocation Action that creates a signal from its inputs, and transmits it to the specified target object, where it may cause the firing of a State Machine transition or the execution of an Activity. When either Argument pin or Target input pin is unspecified or empty, this Action's Behavior will have the rules as follows
A value specification Action is an Action that evaluates a value specification. When the value of a ValueSpecification Action is not specified, this Action's Behavior will apply the rule as follows
A start Classifier Behavior Action is an Action that starts the Classifier Behavior of the input. If the Object input pin is not present or empty, this Action's Behavior will apply the rule as follows
Opaque Actions are a type of Action that can be used to represent implementation information. They can also be used as placeholder Actions until you determine the specific type of Action to use. If the opaque Action does not return a value to the OutputValue pin, this Action's Behavior will apply the rule as follows
A "null value token" is an ObjectToken with has no values defined. |