How can I print out the message in the system log and in the requested item?

John242
Giga Contributor

Hello,

I am new to ServiceNow, and I am trying to solve this task. So far, everything is going well the only point I cannot implement.


The workflow assigned to this catalogue item should print out a log in the system logs to say "User <name of the user> has ordered more  <phone or tablet> for server <server name>". It should be written also in the Work Notes field of the Requested Item. Set the state of the RITM to Closed complete after writing the messages in the previous step.

1 ACCEPTED SOLUTION

shloke04
Kilo Patron

Hi John,

Glad to connect and your issue was Resolved. Please mark my answer as correct and close this thread.

Same as below thread:

https://community.servicenow.com/community?id=community_question&sys_id=d9d6c24d1bf40d94d01143f6fe4bcbeb

 

Regards,

Shloke

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

View solution in original post

12 REPLIES 12

You added current.u_string_1 = "  " in run script;

add this:

current.work_notes = "User <name of the user> has ordered more  <phone or tablet> for server <server name>"

Okay, I am just chaing  to see if it works for the work_notes.

I changed and I see no message at all in the work_notes. 

I tried this on my PDI and it worked find below screenshot where in Activities, Work note is added

find_real_file.png

Prasad, may I ask you if I could have a phone call with you through Gmail or a social network you find convenient? I think would be much faster to identify the issue. Sorry, I am new to ServiceNow and need to solve this question as soon as possible.

 Let me know if this is possible for you.