state policy

Returns the current state of the flow family instance.

Type: attr policy.

Syntax

state()

Returned value

The current state of the flow family instance.

Example

...

policy service_state = service_flow.state;

entity service {

security call is_working = choice (service_state) {

started : grant;

_ : deny;

};

}

Page top