How can I access multiple discountNodes Metafields value?

Hi @yedla_dinesh

No, this is not possible. Each discount you create with discountAutomaticAppCreate represents a separate execution of your function. They will all be executed in parallel and the discounts will be combined according to Shopify’s discount combination rules. Each execution can only access the metafields of a single discount.

If you are looking for some sort of shared configuration, you might consider a shop metafield. Otherwise the best practice is to configure and output the discounts independently from each function run, and allow Shopify to choose the best discount combination for the shopper.

-Nick