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

Here's a weird thing, this was working just fine for me with the 2 UI macros; user_show_incidents;caller_show_requests. Recently, we cloned over our 'sandbox' instance, so I rebuilt the functionality in exactly the same way. But now I get the same result for both actions. Individually, the result is fine. This is not the same issue I was having ealier with have I separated the reference in the attributes. I have added this reference to the attributes of the 'requested for' variable on the New Call app. (u_requested_for) : ref_contributions=caller_show_incidents;caller_show_requests. If I remove the Request reference from the attribute, the Related Incidents macro works fine. And vise versa. So I just put this into demo08 to see if the behavior is the same. The UI macros are attached in a zip file. Any suggestions or comments are absolutley welcome as I am sure I am missing something minor. Maybe a fourth pair of eyes will see something. Thanks, Mark S


Baggies
Kilo Guru

This is why a second pair of eyes is handy. For the UI Macro 'show related incidents' any reference to showRelatedList was changed to 'showRelatedIncidentsList', and for 'related requests', I used 'showRelatedrequestsList'. Having two calls to 'showRelatedList' caused the confusion.


manapt
Kilo Contributor

Hey, I have written the same macro caller_show_incidents and specified ref_contributions=caller_show_incidents in the attributes of Caller reference variable on NEW Call module but Show related incident icon is not appearing. It seems its not invoking the macro. Do I have to use anything other than ref_contributions for invoking macro from wizard variable?


UI macros cannot be used on variables, just regular fields. That's just one of the reasons why the SNGuru new call application uses standard forms and fields. You can get that application from SNGuru.com.