Тёмный

On Demand/Classless Script Include (with use case) 

TechWithPri
Подписаться 12 тыс.
Просмотров 3,6 тыс.
50% 1

Опубликовано:

 

28 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 14   
@ayodelebolarin4881
@ayodelebolarin4881 9 месяцев назад
Hi. Thank you for making these videos. They are really helpful. I passed my CSA after watching your preparation series. I am a member. I have a quick question: how do you get the field names in blue to appear?
@techwithpri
@techwithpri 9 месяцев назад
Its my pleasure !😇😇 Can you tell me the time of the video where you get this blue field names?😀😀 I would happy to help you !!
@ayodelebolarin4881
@ayodelebolarin4881 9 месяцев назад
Thanks for your response. Around 6:33. E.g, the Parent Incident displays the parent_incident in blue.
@techwithpri
@techwithpri 9 месяцев назад
@@ayodelebolarin4881 I checked it . This is not something that I have applied externally..i think i selected that field and that's why it's showing or kind of highlighting..😄😄
@GillerlaRajesh
@GillerlaRajesh 4 месяца назад
Hlo pritham, I got doubt here when u calling script include in server side i means in business rule side here U directly called function name right here. But syntax says that new scriptincludename(). function name(); right I too tried calling new script include name.function name but its not working, but i called using directly function name it will working fine Is there any specific criteria is there to call script include in server side ? I thinka as per my understanding only one way rigt.
@techwithpri
@techwithpri 4 месяца назад
Hey 👋 Thats a good finding !! Well understand the fundamental the classless script include can contain one function and the function name is same as the script include name. Thats why when you call the function it automatically calls the script include as name of the script include and function has to be same. You should use new keyword when you are calling function which is defined in create a new class script include as there the function name and script include name is different 🤓.
@abidjaffrey5786
@abidjaffrey5786 5 месяцев назад
Hi Pritam, I Could you help me if there is any error in the below, it is not executing. Script: function updateWorkNotes(problemID,workNotes){ var gr = new GlideRecord('problem'); gr.addQuery('sys_id',problemID); gr.query();{ if(gr.next()){ gr.work_notes = workNotes; gr.update(); } } } BR: (function executeRule(current, previous /*null when async*/) { var workNotes = curerent.work_notes.getJournalEntry(-1); updateWorkNotes(current.problem_id,workNotes); })(current, previous);
@techwithpri
@techwithpri 5 месяцев назад
Hey 👋 In which table you run the BR?
@GillerlaRajesh
@GillerlaRajesh 4 месяца назад
In script include see u given flower brace after gr.query(); Please remove that one and check
@devenbedase6246
@devenbedase6246 3 месяца назад
In BR you made a spelling mistake while writing current. var workNotes = curerent.work_notes.getJournalEntry(-1); var workNotes = current.work_notes.getJournalEntry(-1);
@boldflash3728
@boldflash3728 Месяц назад
code is not working for me
@techwithpri
@techwithpri Месяц назад
Hey 👋 Share me the code here, which you are trying 🤓
@girimcd8361
@girimcd8361 24 дня назад
var workNotes = current.work_notes. the getJournalEntry is not coming when enter dot after worknotes to select it. Please let me know
@techwithpri
@techwithpri День назад
Hey 👋 Sorry for the late reply 😔 But did it work actually? the getJournalEntry?
Далее
Define a new Class Script Include (use case)
30:04
Просмотров 3,6 тыс.
GlideAjax - Client Callable Script Include
21:36
Просмотров 4 тыс.
Random Emoji Beatbox Challenge #beatbox #tiktok
00:47
3 use cases of Business Rules
26:57
Просмотров 4,5 тыс.
Next.js 15 Breakdown (Everything You Need To Know)
18:10
3 Complex use cases of Script Include (Part 3)
16:59
Просмотров 1,4 тыс.
What is Script Include?
16:49
Просмотров 4,5 тыс.
ServiceNow Update Set
28:23
Просмотров 12 тыс.
Access server data from client (g_scratchpad)
21:06
Просмотров 4,2 тыс.
getReference ( no callback) vs getReference (callback)
14:32