[server] Use TriggerIdType for trigger ID value