--- title: "find channel(a,b,[c,d])" slug: "basic-find-comm-channel" updated: 2026-08-11T12:30:56Z published: 2026-08-11T12:30:56Z canonical: "docs.lobstersoftware.com/basic-find-comm-channel" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # find channel(a,b,[c,d]) This function returns the ID of a partner Channel that has an additional ID (see [Channels](/v1/docs/en/manage-partners-channels)**)** with name **a** and value **b**. If the optional parameter **c** is set, the search will be restricted to partner channels of a given type. If **d** is true, the search will be restricted to active channels only. If no fitting channel is found, an empty string with a set empty flag will be returned. ## Parameters | Parameter | Description | | --- | --- | | a | Name of the additional ID. | | b | Value of the additional ID. | | c | (optional) Type of the partner channel to restrict the search. Default: No restriction. **NOTE:** Use the three dots to select a value. | | d | (optional) "true" if only active partner channels should be used. Default: "false". | ## Examples The partner channel administration should contain two partner channels for partner *Lobster* with the following attributes (simplified). | Partner channel ID | : | Channel type | Active? | | --- | --- | --- | --- | | 1 | Lobster:FTP | ftp | true | | 2 | Lobster:AS2 | as2 | false | The following additional references are defined. | Partner channel ID | Name of additional ID | Value of additional ID | | --- | --- | --- | | 1 | customerid | 4711 | | 1 | accountno | 12345 | | 2 | customerid | 4712 | | 2 | accountno | 23456 | This will lead to the following results. | Parameter a | Parameter b | Parameter c | Parameter d | Result | | --- | --- | --- | --- | --- | | customerid | 4711 | ftp | | 1 | | accountno | 23456 | as2 | | 2 | | customerid | 4712 | ftp | | (Empty string with a set empty flag.) | | customerid | 4713 | ftp | | (Empty string with a set empty flag.) | | customerid | 4711 | ftp | true | 1 | | customerid | 4712 | as2 | true | (Empty string with a set empty flag.) | You can, for example, store the result in system variable VAR_SYS_CHANNEL_RESPONSE[1..n] (see explanation there) to exchange the channel of a Response. **NOTE:** See also VAR_SYS_TRIGGER_CHANNEL_ID for exchanging scheduled input agents. A central data record in partner management that consolidates the connection parameters for a communication partner, such as the URL, access credentials, and protocol. Changes to a channel immediately affect all profiles, ASM entries, and content inspection entries that use that channel. Communication protocol for secure EDI data exchange via HTTP/HTTPS. AS2 encrypts and signs messages and confirms receipt via MDN. AS2 is defined in the RFC 4130 standard. The response determines how a profile sends processed data. In Phase 6, a response determines how and where the output data is sent or stored, e.g., via FTP, HTTP or e-mail. A profile can use several responses in parallel.