ServiceNow Usecase Open Email from Activity Log | ServiceNow tricks email logs | ServiceNow tricks
[Music] hi everyone welcome back so today i was just surfing through the community channel okay trying to learn some new things okay and i came across this article okay which was written by into one lp i'm not sure is the am i pronouncing this name correctly okay so this is with respect to open associate record directly from the activity lock okay so uh it whenever we see this is a use case okay which i really want to see okay if it's working the way it has mentioned in the article so basically what happened if you go to the ins now for example if i go to the incident dot list okay and if i open up any any record for example this particular record incident [Music] one so we can see the activity logs under it right so for example this is the activity block for email details and we can see the email event it is pretty pretty pretty easily over here okay but a lot of in lot of development scenarios we have to see uh the exact email uh email trigger or we can say email log okay and then we go to the email logs from your business type email okay the system log image and then we try to find the image to get the more details of that particular email out right i will go i will just if i so this is i take right then i have to take the subject or i have to do star incident number right so for example this is the incident number what is this in a number this is the incident number and if i type probably it will be in subject so and we if we found this incident out okay so this incident was like subject with uh incident has been closed right their state chain notification so this is the incident okay which we can see but what if i want to see the notification by just a click from the record right and this article talks about that on this so what exactly it's mentioned over this so according to this in the last few releases okay so is now has introduced a new property which is a secret property i was not aware about that and the property name is blind you your my activity style image so with this property we can style the activity email body okay let's try it out so as we will follow the steps which is given by the article owner okay so we will just create a new property okay first of all i will try to see whether that property already exists so i will go to says properties dot last okay and let's try to find this property if it already exists okay it doesn't exist so what we'll do we will create a new property as i have already given the printer condition so it will get auto populated in the name again so it didn't get populated so i will keep it again okay and now what i will do i will just go i just want to see the difference right so i will go to the article again i'll just copy this script out okay send its value to the script so i will just copy this property of script out i will just paste it out and i think that's it okay so i will submit it out and let's see if some some changes on the incident form it i will go to the incision form again the similar incident form we will we will try to memorize what exactly we can see right now and if i reload the form if something comes then it's fine if nothing comes then it's a waste of the video i have to delete it out so if i go to the email details now so everything looks similar oh i can see one button email open email record so this is a new button which got introduced on the activity docs okay let's try to click on this open email record so if i click on this open email record so it's detected oh wow it oh it actually opened that email recorder okay so this is working okay shout out to the uh owner of this article okay and to l and into one lb okay thanks for posting this article out okay it was i really liked it okay it's fascinating for me okay so this is how it's working okay um i liked it out okay if you also feel that you saw some purpose okay with this particular article just mark that article helpful okay and uh just try to implement in your system okay oh and you can try to modify the styling also okay for example oh let's go to the property if i open this property out it's the style dodges if i if i try so it's windows down open okay perfect see if i want to give it a name like something different i can give text no more wants to open email something like that okay if we save it down probably it will reflect the incident we can change the styling also policies okay you can do a number of things let's click on email details now perfect okay so this is all for today's tutorial it's a short tutorial because i came across this and i thought that i should share it out with my community so that's all for today hope you like this video okay stay follow subscribe okay as always and stay safe stay happy and have a nice day thank you
https://www.youtube.com/watch?v=rxdOO7sVMyE