AS A service designer
I WANT Service-Module to validate all Next Service dependencies before activating a service
SO THAT an Active service never directs an end user to an unavailable service.
Description
A service may move from Ready to Active only when it still passes Ready validation and every directly or indirectly reachable Next Service target is Active.
Draft and Ready services may be used as Next Service targets while designing a flow, but they block activation.
Returning a referenced Active service to Draft does not automatically change the status of services that reference it.
Acceptance criteria
AS A service designer
I WANT Service-Module to validate all Next Service dependencies before activating a service
SO THAT an Active service never directs an end user to an unavailable service.
Description
A service may move from Ready to Active only when it still passes Ready validation and every directly or indirectly reachable Next Service target is Active.
Draft and Ready services may be used as Next Service targets while designing a flow, but they block activation.
Returning a referenced Active service to Draft does not automatically change the status of services that reference it.
Acceptance criteria
Cannot activate service. The following connected services must be Active:
<service-name/ service status>
Teenust ei saa aktiveerida. Järgmised seotud teenused peavad olema aktiivsed:
<teenuse-nimi/ teenuse staatus>