Interface DataLookupSetRule<S, M> interface DataLookupSetRule < S extends TableName = TableName , M extends TableName = TableName , > { $id : string | number | ExplicitKey < string > ; alwaysReplace ?: boolean ; matcherField : | string & {} | "sys_created_on" | "sys_created_by" | "sys_updated_on" | "sys_updated_by" | "sys_id" | "sys_mod_count" | keyof (
Tables [ M ] [ "extends" ] extends E ? Tables [ E ] extends { schema : object } ? Schema < M > & (
Tables [ E ] [ "extends" ] extends E ? Tables [ E ] extends { schema : object } ? Schema < E > & (
Tables[E]["extends"] extends infer E extends string ? Tables[E] extends { schema: object; } ? Schema<E> & (Tables[E]["extends"] extends infer E extends string ? Tables[E] extends { ...; } ? Schema<...> & ... 1 more ... & PlatformColumns : Schema<...> : Schema<...>) & PlatformColumns : Schema<...> : Schema<...>
)
& PlatformColumns : Schema < E > : Schema < E > )
& PlatformColumns : Schema < M > : Schema < M > )
; targetField : | string & {} | "sys_created_on" | "sys_created_by" | "sys_updated_on" | "sys_updated_by" | "sys_id" | "sys_mod_count" | keyof (
Tables [ S ] [ "extends" ] extends E ? Tables [ E ] extends { schema : object } ? Schema < S > & (
Tables [ E ] [ "extends" ] extends E ? Tables [ E ] extends { schema : object } ? Schema < E > & (
Tables[E]["extends"] extends infer E extends string ? Tables[E] extends { schema: object; } ? Schema<E> & (Tables[E]["extends"] extends infer E extends string ? Tables[E] extends { ...; } ? Schema<...> & ... 1 more ... & PlatformColumns : Schema<...> : Schema<...>) & PlatformColumns : Schema<...> : Schema<...>
)
& PlatformColumns : Schema < E > : Schema < E > )
& PlatformColumns : Schema < S > : Schema < S > )
; } Defined in node_modules/.pnpm/@servicenow+sdk-core@4.9.0/node_modules/@servicenow/sdk-core/src/app/DataLookup.ts:35 Properties $id Defined in node_modules/.pnpm/@servicenow+sdk-core@4.9.0/node_modules/@servicenow/sdk-core/dist/global/Keys.d.ts:54 Optionalalways Replace alwaysReplace ?: boolean
Defined in node_modules/.pnpm/@servicenow+sdk-core@4.9.0/node_modules/@servicenow/sdk-core/src/app/DataLookup.ts:44 matcher Field matcherField : | string & {} | "sys_created_on" | "sys_created_by" | "sys_updated_on" | "sys_updated_by" | "sys_id" | "sys_mod_count" | keyof (
Tables [ M ] [ "extends" ] extends E ? Tables [ E ] extends { schema : object } ? Schema < M > & (
Tables [ E ] [ "extends" ] extends E ? Tables [ E ] extends { schema : object } ? Schema < E > & (
Tables[E]["extends"] extends infer E extends string ? Tables[E] extends { schema: object; } ? Schema<E> & (Tables[E]["extends"] extends infer E extends string ? Tables[E] extends { ...; } ? Schema<...> & ... 1 more ... & PlatformColumns : Schema<...> : Schema<...>) & PlatformColumns : Schema<...> : Schema<...>
)
& PlatformColumns : Schema < E > : Schema < E > )
& PlatformColumns : Schema < M > : Schema < M > )
Defined in node_modules/.pnpm/@servicenow+sdk-core@4.9.0/node_modules/@servicenow/sdk-core/src/app/DataLookup.ts:39 target Field targetField : | string & {} | "sys_created_on" | "sys_created_by" | "sys_updated_on" | "sys_updated_by" | "sys_id" | "sys_mod_count" | keyof (
Tables [ S ] [ "extends" ] extends E ? Tables [ E ] extends { schema : object } ? Schema < S > & (
Tables [ E ] [ "extends" ] extends E ? Tables [ E ] extends { schema : object } ? Schema < E > & (
Tables[E]["extends"] extends infer E extends string ? Tables[E] extends { schema: object; } ? Schema<E> & (Tables[E]["extends"] extends infer E extends string ? Tables[E] extends { ...; } ? Schema<...> & ... 1 more ... & PlatformColumns : Schema<...> : Schema<...>) & PlatformColumns : Schema<...> : Schema<...>
)
& PlatformColumns : Schema < E > : Schema < E > )
& PlatformColumns : Schema < S > : Schema < S > )
Defined in node_modules/.pnpm/@servicenow+sdk-core@4.9.0/node_modules/@servicenow/sdk-core/src/app/DataLookup.ts:37
A setter rule that defines which field value to copy from a matched matcher table row back to the source record.
Each set rule is its own
dl_definition_rel_setrecord on the instance and must have its own$idso the same sys_id is used across all build environments.