fluent app: Can not import GlideSecureRandomUtil from @servicenow/glide typescript module
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2025 03:42 AM
hi all,
I want to use GlideSecureRandomUtil api in my fluent app, but i can't import its type from the module, i found
annother type SecureRandomUtil defined in that module, how to fix that?
//case 1: not type defination, record script include can invoke this api
import { GlideSecureRandomUtil } from '@servicenow/glide';
GlideSecureRandomUtil.getSecureRandomString()
//case 2: has type defination,but record script include can't invoke, and show error SecureRandomUtil is undefined
import { SecureRandomUtil} from '@servicenow/glide';
SecureRandomUtil.getSecureRandomString()
0 REPLIES 0