create HR task through HR template

abirakundu23
Mega Sage

Hi All,

We have created HR task through HR template under HR case. Our requirement is to add some information to the HR task description. I have added but it is not working.

An Initiate Transfer case has been opened for  ${opened_for} // HR case opened for.

This is the request of Case Number: ${number} //HR case number

For any further details go to  Link : Tool Link // Added URL 

can we take data dynamically in that way or any other way ?

7 REPLIES 7

Can you put one log in the first line of the script and check if it is going inside the script?

Hi Mohith,

1st Log is not comming

gs.log("Reward manager for ITP");
current.rich_description = "Receive Information to Reward Manager Initial Transfer"+"\n"+"HR Case Number:"+current.parent.number+"/n"+ "For any further details go to GA Link :"+"<a href=https://app3.gadeloitte.com/IASTCPortal/home+GA Tool+</a>";
gs.log("Reward manager for ITP Employee");

You cannot use "gs.log" as you are probably in the HR scoped application.

 

Use "gs.info".

 

And then check if it's logging, here, in the "syslog_app_scope" table: 

 

https://MYINSTANCE.service-now.com/syslog_app_scope_list.do?sysparm_query=sys_created_onONLast%2015%...

 

 

Gimme some thumbs up, if this helped you! 🙂