Hi, tried to run the script on my pdi for use case 1 but its throwing error (can not read property ‘Sys_id’ on line 3 of the code as a result not populating ‘parent_incident’ field & unable to create a child incident.
@@techwithpri Hi Pritam, here is the code with condition in the 'condition' field as "(current.priority==1)&&(current.assignment_group==gs.getProperty('getNetwork'))" var C_childincident = GlideRecord('Incident'); C_childincident.initialize(); C_childincident.parent_incident = current.sys_id; C_childincident.caller_id = current.caller_id; C_childincident.short_description = current.short_description; C_childincident.assignment_group = gs.getProperty('getNetworkCab'); action.setRedirectURL(current); CCIncident.insert(); Thanks much!
Hello, I really like the way you teach ServiceNow and on many instance I have used your video to solve my issues in ServiceNow. I would request you to make a video about Service Catalog. I know it's a very challenging topic, but I would be really interested in learning it from you.
Its my pleasure 😄😄. I already have 3 videos on Service Catalog in my ServiceNow System Administrator playlist. 1. ServiceNow Different components of Service Catalog. 2.ServiceNow Order Guides and Record Producer. 3.ServiceNow Create Iphone 14 Catalog Item using Catalog Builder. Here is the playlist link - ua-cam.com/play/PLe4QSsKLT0SZsLgx2f-tthW_lzBnFpsQ2.html More advance video on Service Catalog will come soon 😇😇. Let me know for any concern ..keep watching and keep learning 👍👍
Hi, tried to run the script on my pdi for use case 1 but its throwing error (can not read property ‘Sys_id’ on line 3 of the code as a result not populating ‘parent_incident’ field & unable to create a child incident.
Hey 👋
Can you please share me the code here so that I can check and guide you further 🤓
@@techwithpri Hi Pritam, here is the code with condition in the 'condition' field as "(current.priority==1)&&(current.assignment_group==gs.getProperty('getNetwork'))"
var C_childincident = GlideRecord('Incident');
C_childincident.initialize();
C_childincident.parent_incident = current.sys_id;
C_childincident.caller_id = current.caller_id;
C_childincident.short_description = current.short_description;
C_childincident.assignment_group = gs.getProperty('getNetworkCab');
action.setRedirectURL(current);
CCIncident.insert();
Thanks much!
HEy 👋
What is CCIncident??
it should be C_childincident.insert();
Hello,
I really like the way you teach ServiceNow and on many instance I have used your video to solve my issues in ServiceNow. I would request you to make a video about Service Catalog. I know it's a very challenging topic, but I would be really interested in learning it from you.
Its my pleasure 😄😄.
I already have 3 videos on Service Catalog in my ServiceNow System Administrator playlist.
1. ServiceNow Different components of Service Catalog.
2.ServiceNow Order Guides and Record Producer.
3.ServiceNow Create Iphone 14 Catalog Item using Catalog Builder.
Here is the playlist link - ua-cam.com/play/PLe4QSsKLT0SZsLgx2f-tthW_lzBnFpsQ2.html
More advance video on Service Catalog will come soon 😇😇.
Let me know for any concern ..keep watching and keep learning
👍👍
@@techwithpri Hello, Thank you so much for the quick reply. I will surely start learning from these videos. 🤓
Which runs first ui policy action or ui policy script
Hey !!!
It's the UI policy script 😎
waiting for next video
plz upload next video. Eagerly waiting
Just posted in the community !! Coming tomorrow 😅😅
HI bro
when u click on create child incident button but priority is comming (5 =planning)
As you said priority should come (3) .
Hey !!
Great observation 🙏🏻
I just realise that I forgot to add code for that 😅
I am big fan of u bro
🙏🏻 Keep watching and keep supporting so that my channel reach out to many people and solve their problem too 🤓
@@techwithpri hi bro,
gr.priority = current.priority == 3; may i know this correct or not anyone please response