3 Use Cases of UI Actions

Поділитися
Вставка
  • Опубліковано 16 лис 2024

КОМЕНТАРІ • 18

  • @prachibapat-iu3po
    @prachibapat-iu3po 3 місяці тому +1

    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
      @techwithpri  3 місяці тому

      Hey 👋
      Can you please share me the code here so that I can check and guide you further 🤓

    • @prachibapat-iu3po
      @prachibapat-iu3po 3 місяці тому

      @@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!

    • @techwithpri
      @techwithpri  3 місяці тому

      HEy 👋
      What is CCIncident??
      it should be C_childincident.insert();

  • @ShubhamMishra-b4l
    @ShubhamMishra-b4l 10 місяців тому +1

    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.

    • @techwithpri
      @techwithpri  10 місяців тому +2

      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
      👍👍

    • @ShubhamMishra-b4l
      @ShubhamMishra-b4l 10 місяців тому

      @@techwithpri Hello, Thank you so much for the quick reply. I will surely start learning from these videos. 🤓

  • @Aishakhan51722
    @Aishakhan51722 3 місяці тому

    Which runs first ui policy action or ui policy script

    • @techwithpri
      @techwithpri  3 місяці тому +1

      Hey !!!
      It's the UI policy script 😎

  • @Kingboys9976_broo
    @Kingboys9976_broo 10 місяців тому

    waiting for next video

  • @Kingboys9976_broo
    @Kingboys9976_broo 10 місяців тому

    plz upload next video. Eagerly waiting

    • @techwithpri
      @techwithpri  10 місяців тому

      Just posted in the community !! Coming tomorrow 😅😅

  • @RaviTeja-ec7mf
    @RaviTeja-ec7mf 6 місяців тому

    HI bro
    when u click on create child incident button but priority is comming (5 =planning)
    As you said priority should come (3) .

    • @techwithpri
      @techwithpri  6 місяців тому

      Hey !!
      Great observation 🙏🏻
      I just realise that I forgot to add code for that 😅

    • @RaviTeja-ec7mf
      @RaviTeja-ec7mf 6 місяців тому

      I am big fan of u bro

    • @techwithpri
      @techwithpri  6 місяців тому

      🙏🏻 Keep watching and keep supporting so that my channel reach out to many people and solve their problem too 🤓

    • @NaveenkumarKK-io6in
      @NaveenkumarKK-io6in 25 днів тому

      @@techwithpri hi bro,
      gr.priority = current.priority == 3; may i know this correct or not anyone please response