Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Show tasks by requested for user

Baggies
Kilo Guru

I am working for a company that wants to employ a New Call feature for their service desk. Service Now Guru has such an app. for download (for which I thank them mightily) But one of the requirements our end users have asked for, is that when you insert a Requested For name from the sys_user table, that the form also show any open tasks by that users. Kind of like a related list, or UI Macro by the requested_for field.
The New Call module does not actually create a record, so I think this may be where the stumbling block is. I wonder if anyone else has tackled such a request.
The Service Desk has asked that as soon as a name goes into the requested_for field, that they have access to the users open tasks. Many Thanks for ANY response, or suggestions, Mark S.

13 REPLIES 13

Baggies
Kilo Guru

Ahh, I see, Thanks again, I guess I shuold ignore the wiki article I read saying "separate 2 attributes with a comma". This works great.


CapaJC
ServiceNow Employee
ServiceNow Employee

No, multiple attributes must be separated with commas. Multiple values for the SAME attribute get separated with semi-colons. Hardly intuitive, but effective.


CapaJC
ServiceNow Employee
ServiceNow Employee

I'd like to see attributes transitioned to a related list, but apparently that's a lot easier wished for than coded.


Baggies
Kilo Guru

I created a new SC Item, with a variable set. In the variable set I added a "requested_for" variable (referencing sys_user) to the SC Item form. I cannot get the 'requested_for" field on the new form to be populated from the 'u_requested_for' variable on the New Call form. It works okay for the cart items. If anyone has successfully done this I would appreciate any imput. I'll play with it some more, and post my findingss..if I can get it working. Cheers


Baggies
Kilo Guru

I did add the client script from the demo item to my new variable set...shoulda mentioned that