We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

ServiceNow AI Platform forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

現在ログインしてるユーザーの情報を取得するスクリプトを教えていただきたいです

Service Portalでcaseテーブルを拡張したテーブルを参照したRecord Producerを作成しました。 Record Producerの変数のデフォルト値に、ログインしているUser tableのcompanyカラムの値を自動保管したいです。 具体的に、添付ファイルの”デフォルト”にどのようなスクリプトを書けば良いでしょうか? 以下、試みましたが正常に値を取得できません。 javascript:g_user.Company   アドバイスをお願い致します。  

Kota3 by Kilo Contributor
  • 3594 Views
  • 3 replies
  • 3 helpfuls

Error message on UI Action

Requirement: When user click on UI action ' Submit for ST signoff' it should do a validation on Application Service [cmdb_ci_service_auto] Table to validate that business service 'environment is set to 'Production' if not then throw error like 'Can't...

find_real_file.png

Translation for Worknotes

Hello Experts,   I have enabled Localization Framework. In Work Note activities I want to have translation for static Text as per users languageEg. 'Your request has been approved'I tried to create Message [sys_ui_message] and add the static text as ...

Nitesh3 by Tera Contributor
  • 1251 Views
  • 3 replies
  • 1 helpfuls