- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2024 11:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2024 08:55 PM
In ServiceNow, if you need to allow users to enter multiple author names and book names in a catalog item, the best variable type to use is Multi-row Variable Set. This allows users to input multiple rows of data, where each row can include fields like "Author Name" and "Book Name."
With a multi-row variable set, you can define variables within each row, allowing users to input multiple authors and books in one request.
Other
Reference:
- Use case: If authors and books are already defined as separate tables in your ServiceNow instance, a reference variable can be used to link multiple records from those tables to the catalog item. This provides a structured and maintainable approach.
- Example: Create reference fields to the "Author" and "Book" tables, allowing users to select multiple authors and books from lists.
Multi-line text:
- Use case: For simpler scenarios where you don't need to link to existing records, a multi-line text field can be used to allow users to manually enter author and book names, separated by commas or newlines.
- Example: Create a multi-line text field named "Authors" and another named "Books", where users can type in the names.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2024 10:19 PM - edited ‎09-21-2024 10:35 PM
Hello @somya-gupta25
As Hiroshi mentioned, Multi Row Variable Set would suit this requirement. with author and Book name fields.
Refer the below thread to know how to create variable set
Please Mark this answer as helpful and correct if helped
Kind Regards,
Ravi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2024 08:55 PM
In ServiceNow, if you need to allow users to enter multiple author names and book names in a catalog item, the best variable type to use is Multi-row Variable Set. This allows users to input multiple rows of data, where each row can include fields like "Author Name" and "Book Name."
With a multi-row variable set, you can define variables within each row, allowing users to input multiple authors and books in one request.
Other
Reference:
- Use case: If authors and books are already defined as separate tables in your ServiceNow instance, a reference variable can be used to link multiple records from those tables to the catalog item. This provides a structured and maintainable approach.
- Example: Create reference fields to the "Author" and "Book" tables, allowing users to select multiple authors and books from lists.
Multi-line text:
- Use case: For simpler scenarios where you don't need to link to existing records, a multi-line text field can be used to allow users to manually enter author and book names, separated by commas or newlines.
- Example: Create a multi-line text field named "Authors" and another named "Books", where users can type in the names.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2024 10:19 PM - edited ‎09-21-2024 10:35 PM
Hello @somya-gupta25
As Hiroshi mentioned, Multi Row Variable Set would suit this requirement. with author and Book name fields.
Refer the below thread to know how to create variable set
Please Mark this answer as helpful and correct if helped
Kind Regards,
Ravi