sim_number_and_weight_of_propagating_relationships
sim_number_and_weight_of_propagating_relationships—return the number of relationships that propagate a status and the sum of the weights of all the relationships that propagate a status
The syntax for sim_number_and_weight_of_propagating_relationships is as follows:
sim_number_and_weight_propagating_relationships($NUM,$SUM);
sim_number_and_weight_of_propagating_relationships arguments
Argument | Mode | Type | Description |
---|---|---|---|
| Output | INTEGER | Specifies the number of relationships that propagate a status, excluding disabled relationships with a |
| Output | INTEGER | Specifies the sum of all the weights of relationships that propagate a status |
Use the sim_number_and_weight_of_propagating_relationships
to return the number ($NUM
) of relationships that propagate a status and the sum ($SUM
) of all their weights. The number of relationships returned does not include disabled relationships where propagated_status=NONE
.
Note
The sim_number_and_weight_of_propagating_relationships
primitive fails when used outside of an impact status computation action.
Comments
Log in or register to comment.