Accepted State ChoiceA ChoiceB

190 Copyright © 2011 Open Geospatial Consortium Table 77 — Connections of the Accepted state Connector type Source state Target state Notes Transition ChoiceB Accepted If the tasking request is feasible, it transitions on to the final state Accepted. If supported, the service shall notify interested consumers about this event.

10.2.2.3 ChoiceA

When receiving a tasking request, the service has to determine the feasibility of a tasking request within a reasonable amount of time. A reasonable time should be a duration that is well below any timeout of the transport protocol used for the communication. Table 78 — Connections of the ChoiceA choice Connector type Source state Target state Notes Transition ChoiceA Pending If the service cannot determine the feasibility of a tasking request in a reasonable amount of time, the request transitions into the Pending state. If supported, the service shall notify interested consumers about this event. Transition ChoiceA ChoiceB If the service can determine the feasibility of a tasking request in a reasonable amount of time, the request transitions on to the final decision point. Transition Initial State ChoiceA A tasking request automatically reaches the choice where the service decides whether the feasibility of the tasking request can be determined in a reasonable time or not.

10.2.2.4 ChoiceB

Here the service makes his decision whether the request is feasible or not. Copyright © 2011 Open Geospatial Consortium 191 Table 79 — Connections of the ChoiceB choice Connector type Source state Target state Notes Transition ChoiceA ChoiceB If the service can determine the feasibility of a tasking request in a reasonable amount of time, the request transitions on to the final decision point. Transition Pending ChoiceB If the service can provide a final decision on the feasibility of a pending tasking request, the request transitions on to the final decision point. Transition ChoiceB Accepted If the tasking request is feasible, it transitions on to the final state Accepted. If supported, the service shall notify interested consumers about this event. Transition ChoiceB Rejected If the tasking request is not feasible, it transitions on to the final state Rejected. If supported, the service shall notify interested consumers about this event.

10.2.2.5 Initial State

A tasking request is sent to the SPS GetFeasibility, Reserve, Submit, Update. Table 80 — Connections of the Initial state Connector type Source state Target state Notes Transition Initial State ChoiceA A tasking request automatically reaches the choice where the service decides whether the feasibility of the tasking request can be determined in a reasonable time or not.

10.2.2.6 Rejected Final State

If the service determines that the tasking request is not feasible, the request is in the final state Rejected. If the tasking request had the intention to reserve or submit a task, then no task is scheduled by the service. 192 Copyright © 2011 Open Geospatial Consortium If the tasking request had the intention to update a reserved or currently executed task, the update is not performed. A service may provide alternative sets of tasking parameters that the client can use to formulate another tasking request. Table 81 — Connections of the Rejected state Connector type Source state Target state Notes Transition Pending Rejected If the latest response time was set by the client or service for a tasking request and this point in time has been reached the current time being after the latest response time, the tasking request automatically transitions into the Rejected state. If supported, the service shall notify interested consumers about this event. Transition ChoiceB Rejected If the tasking request is not feasible, it transitions on to the final state Rejected. If supported, the service shall notify interested consumers about this event.

10.2.3 EventsTrigger

Requirement http:www.opengis.netspecSPS2.0reqTaskingRequestsEventsTrigger REQ 121. If an SPS server supports event notification, events shall be sent as defined in clauses 10.2.3.1 to 10.2.3.3.

10.2.3.1 TaskingRequestAccepted

A tasking request has been accepted. If supported by the service, this causes a notification of the event.

10.2.3.2 TaskingRequestExpired

A pending tasking request has expired. If supported by the service, this causes a notification of the event.