answer = (typeof g_approval_form_request != "undefined") && g_approval_form_request == true;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2013 03:32 PM
Does this really return the approver for a request ? It does not seem to work for me. What does work to return an approver for a request RITM ?
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2013 03:59 PM
I can't answer your 2nd question off the top of my head, but that line of script does *not* return the approver. All it says is if the user is coming from an approval form (where the approval summarizer is setting a global variable "g_approval_form_request"), let the approver see the contents of the thing they're being asked to approve. Even if ACLs don't normally let that user see that thing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2013 04:11 PM
I don't see it getting set or am i missing something, it is returning undefined in the code when i log the messages. How can i define it in the approval_summarizer ?
This is the generic summarizer
<?xml version="1.0" encoding="utf-8"?>
The macro for the sc_req_item is
<?xml version="1.0" encoding="utf-8"?>
The macro for u_finance is
Summary of Item being approved: | ||||||||||
| ||||||||||
Summary of Item being approved: | ||||||||||
|
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2013 04:12 PM
I also want to change the approval summarizer so that it will just display the RITM without having to hover.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2013 04:39 PM
[edited]
It looks like you're trying to modify the Approval Summarizer on the REQUEST.
If you want to show the REQUEST ITEM being summarized, you should auto-approve the request, and your problem will be solved.