The Daml docs say that
The rule depends on the following arguments:
- The party your trigger is running as.
- The user-defined state.
The autoReply
example though doesn’t use the user-defined state.
Could you show me an example how the state can be used in the rule?