I am not able to fetch ACS using query in DAML Trigger. What can be the reason behind it?
Hey @Pris17,
Could you be a bit more specific ?
I will assume you meant the Trigger query returns you an empty set of contracts. I can imagine a lot of cases when that can happen, including when:
- Your ledger is actually empty.
- You did not register the proper templates.
- Your trigger and you ledger use different dar files.
- The party that runs the trigger is not an observer for the contracts of interest.
Hey…
Thanks for the reply.
Actually I figured out the issue. I didn’t register the template in the trigger.
Issue is resolved.