1# TriggerInfo 2 3The **TriggerInfo** module defines the information required for triggering the WantAgent. The information is used as an input parameter of [trigger](js-apis-app-ability-wantAgent.md#wantagenttrigger). 4 5> **NOTE** 6> 7> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version. 8 9## Modules to Import 10 11```ts 12import { wantAgent } from '@kit.AbilityKit'; 13``` 14 15## Properties 16 17**Atomic service API**: This API can be used in atomic services since API version 12. 18 19**System capability**: SystemCapability.Ability.AbilityRuntime.Core 20 21| Name | Type | Mandatory| Description | 22| ---------- | --- |-------------------- | ----------- | 23| code | number | Yes | Custom result code provided for the target WantAgent.| 24| want | Want | No | Carrier for information transfer between objects (application components). | 25| permission | string | No | Permission. | 26| extraInfo | { [key: string]: any } | No | Extra information. | 27| extraInfos<sup>11+<sup> | Record\<string, Object> | No | Extra information. You are advised to use this property to replace **extraInfo**. When this property is set, **extraInfo** does not take effect. | 28