Dependency

This element holds the name of the dependency resource that you have not used in any of the ZSPEC elements, yet required for the efficient functioning of the current resource.

Possible Locations

Attributes


Name Type Description
resources
required
String (CSV) Name of the dependent <resource>.

Note:
Resources used in the [data path](/en/zest/help/zest-specification-file/data-path/) will be added as dependency by default.

Example

Consider that in the Travel Bureau, we have a recycle bin resource using which we manage the deleted data in the product. The ZSPEC of recycle bin will not refer to any of the resources in the product. Yet, the resources have to be available in the data manager to run automation for the current resource.

In such cases, you have to use the dependency as follows,

    
copy
<dependency resources="destinations,accommodations,trips,travelers" />

Last Updated 2025-05-30 16:54:59 +0530 +0530

ON THIS PAGE