Are there WF Signature Request "Rejected" notifications?

In GSM WF, we have a step that requires a couple of Signature Requests from different functional areas.  We have noticed that when a signer rejects to "sign" that no email notification is going out to the owner of the step.  This is counter-intuitive to user experience and different than the way Supplier notifications work on SRSA workflows.  Is there a configuration to turn the GSM WFA Signature Request Rejected notification = "ON"?  If there is no configuration option, how have others solved this?  Are your users asking or have asked in the past for notification when another rejects their spec object? 
Thanks!  --Beckie

OK, let's go over how this gets implemented:
NOTE: Remember that this would be a custom solution. We are working on improvements to signature documents for an upcoming release.
Because Signature Documents have their own workflow, we can add a workflow action (class) that gets triggered when a Signature Document moves from Review to Rejected/Not Approved. The Signature Document workflow is not managed in the UI, so to add a workflow action, we will use a simple database script. The custom Workflow Action class can send an email to the specification owners informing them that a signature document was Rejected, and include some helpful information.
For example, the email body could look like the following:
A Signature Document was Rejected for the following specification:
  Spec Number:     5112558-001
  Spec Name:        Papaya Pineapple Juice
  Current Status:  Design
Signature Document Rejected by:
  User:    John Doe
  Reason:  Missing custom section XYZ details
Click to view the signature document --> http://<servername>/gsm/BaseForms/frmSignatureDoc.aspx?SpecID=5816d6dc0945-a9b7-43d4-82f0-235b7b6946ff&SigDocID=5769d6654ad6-e77a-4264-bf71-0a45fac4338f
Steps:
1. Create a new Visual Studio project (or potentially use an existing one if you already have one for workflow actions or validations)
2. Add the following PLM for Process DLLs as References (get them from the SharedLibs folder of your release):
CoreAppPlatform
DataInteraces
DataLib
DataObjects
GeneralServices
GSMLib
LinearWorkflow
PluginExtensions
ProdikaCommon
ProdikaLib
WorkflowCore
3. Create a new class that extends the SimpleLinearWorkflowActionBase class (from Xeno.LinearWorkflow). Here is a reference example (note this is an example class and is for demonstration purposes only):
using System;
using System.Collections.Generic;
using System.Linq;
using Xeno.Data;
using Xeno.Data.GSM;
using Xeno.LinearWorkflow;
using Xeno.LinearWorkflow.WorkflowObjects;
using Xeno.Prodika.Application;
using Xeno.Prodika.Common;
using Xeno.Prodika.Config;
using Xeno.Prodika.GSMLib.Workflow;
using Xeno.Prodika.Services;
namespace SampleWorkflowExtension
    public class SignatureRequestRejectionNotificationAction : SimpleLinearWorkflowActionBase
        public override void Execute(ILinearTransitionContext ctx)
            var transitionContext = (SignatureDocLinearTransitionContext)ctx;
            ISpecificationService specService = GetSpecService();
            if (specService != null)
                var currentSpec = (IBaseSpec)specService.Current;               
                var specOwnerUsers = GetSpecOwnerUsers(currentSpec);
                if (specOwnerUsers.Count > 0)               
                    SendEmailToSpecOwners(specOwnerUsers, transitionContext.SignatureDocument, currentSpec, transitionContext.Comments);
        private static List<IUser> GetSpecOwnerUsers(IBaseSpec currentSpec)
            return (from ISpecOwner specOwner in currentSpec.SpecSummary.Owners.Values
                    select AppPlatformHelper.DataManager.objectFromID(specOwner.OwnerID)).OfType<IUser>().ToList();
        private void SendEmailToSpecOwners(List<IUser> specOwnerUsers, ISignatureDocument sigDoc, IBaseSpec currentSpec, string workflowComments)
            var userService = GetUserService();
            string currentSigDocUserName  = userService.UserContext.User.Firstname + " " + userService.UserContext.User.Lastname;
            var specSummary = currentSpec.SpecSummary;
            var currentUser = userService.UserContext.User.ContainedUser as IUser;
            if (currentUser != null)
                string from = currentUser.email;
                string to = StringHelper.Join(specOwnerUsers, x => ((IUser) x).email, ", ");
                string subject = String.Format("Signature Document Rejected for Spec {0} ",
                                               currentSpec.SpecSummary.FreeTextName.Name);
                string body = String.Format(_emailBodyTemplate,
                                            specSummary.SpecNumIssueNum,
                                            specSummary.FreeTextName.Name,
                                            specSummary.WorkflowStatus.Status,
                                            currentSigDocUserName,
                                            workflowComments,
                                            DeploymentConfig.GetAppURL("GSM"),
                                            specSummary.SpecID,
                                            sigDoc.DocId);
                EmailService().SendMessage(from , to, subject, body);
        //todo: this should be in the database as a translation
        private const string _emailBodyTemplate = @"A Signature Document was Rejected for the following specification:
  Spec Number:     {0}
  Spec Name:       {1}
  Current Status:  {2}
Signature Document Rejected by:
  User:    {3}
  Reason:  {4}
Click to view the signature document --> {5}/BaseForms/frmSignatureDoc.aspx?SpecID={6}&SigDocID={7}
        private static ISpecificationService GetSpecService()
            return AppPlatformHelper.ServiceManager.GetServiceByType<ISpecificationService>();
        private static IUserService GetUserService()
            return AppPlatformHelper.ServiceManager.GetServiceByType<IUserService>();           
        private static IEmailService EmailService()
            return AppPlatformHelper.ServiceManager.GetServiceByType<IEmailService>();           
4. Compile the class and place the dll into web\gsm\bin.
5. Run the following database script to add the workflow action to the Reject workflow transition, replacing the classname, namespace, and assembly (in green below) name to your classname and assembly name. SigDocRejectSample is just a reference name for this workflow action - you can change it to something more meaningful:
insert into gsmWorkflowActionTemplates
values ('57602CF17ABE-9AF7-4E32-9A61-76DF5AA0E09C', 'Class:SampleWorkflowExtension.SignatureRequestRejectionNotificationAction,SampleWorkflowExtension',
'57574dd649e7-2454-4d84-a0f3-7377d6d2c57f', 'SigDocRejectSample', 0, 0, 0);
6. Restart the GSM application
That's it! You should be ready to test it out.
Note that this sample has the email subject and body written in the class, and written in English. Ideally, to support multiple languages, this should be added to the database, into the commonXLAExtensionCache and commonXLAExtensionCacheItem table. I will write up a followup on that or handle it in an upcoming Dev To Dev.

Similar Messages

  • Risk Violation flag showing green even if risks are there in the request

    Hi Experts,
    We are working in demo systems with GRC AC 5.3_10.1.
    1) when a user creates a request for new roles, the request after submission from the user goes to the manger as a part of approval process. The manager opens the request. At this stage, the system automatically runs a risk analysis in the background and if risks are found in the requested roles then the red flag appears automatically. We were able to see the red flag until patch 7.0. But after upgrading to patch 10, not able to see the red flag even after manually performing the risk analysis(it's showing risks in after performing risk analysis). The flag always looks green. Can anyone please clarify is this a bug in the patch 10 or we are lacking some configuration?
    2) For the same roles requested in one demo system, after performing risk analysis, we are finding 2 risks. and in another system we are finding 3 risks. User attributes, Access Control patch level, GRC risk library remains same in both of the test systems. We thought roles we are requesting might be having some difference as systems are difference, and performed user and role comparison. But surpringly everything looks same. Can anyone please highlight, where we need to drill down for further analysis.
    Thanks in advance.
    Regards,
    Gurugobinda

    Hi Guru,
       The first one doesn't make sense. This may be a bug but I am on SP 10 Patch 1 and this is working fine. Are you getting same risks when you run risk analysis in RAR? Make sure these are SoD risks not critical action risks.
       The second one sounds like configuration or data issues. Are you connected to same SAP system from both the environments? Do you have any mitigating controls defined?
    Regards,
    Alpesh

  • PO change version Approval/Rejection notification to requester

    Dear SRM Gurus,
    We are in stand alone scenarion of SRM 7.0 using process controlled WF.
    We have received an request to send out notification on approval / rejection of and PO change version.
    The PO's are created automaticaly from approved SC's and only the PO change triggers the approval WF.
    I've already checked the IMG: SRM server > cross application > Event and event schema for alert management.
    1. Define events: BUS2201 Purchase order is present with APPROVAL_PROCESS_DOC_APPROVED and APPROVAL_PROCESS_DOC_REJECTED
    2. Define event schema for obj. type BUS2201 event schema PO the APPROVAL_PROCESS_DOC_APPROVED and APPROVAL_PROCESS_DOC_REJECTED with subcategory event APPROVAL_RESULT_NOTIFIC_NEW are set to event category NOTIFIC Message.
    3. Define Recipient of notifications: PM Approve change version of purchase order - User Role CR contact person the options rejection and approval of application object are selected.
    The users I'am using to test are the same as those who receive notifications for SC rejection/approval so I guess it's not connected to SU01 or PPOMA settings.
    Still I don't see notification sent via SOST.
    Any ides what I could check next please?
    Thanks in advance for you help.
    Michal

    Hello Michal,
    did you give the event schema created to corresponding transaction type ?
    If you are expecting to receive notification during approval workflow, check OSS note [1395980 - No notifications of approval sent during approval process|https://websmp101.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1395980&_NLANG=E]
    For PO, you can also check OSS note [1572957 - PO change version reject notification not sent|https://websmp101.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1572957&_NLANG=E]
    Regards.
    Laurent.

  • Why are there so many more choices on the USA iTunes Store? Surely having an iTunes account should let you access all itunes availability the world over? Also how do you request films/tv series to the UK itunes?

    Why are there so many more choices on the USA iTunes Store? Surely having an iTunes account should let you access all itunes availability the world over?
    Also how do you request films/tv series to the UK itunes? There's tv series I'd like but they're incomplete like The Batman &amp; Xena Warrior Princess. And films theta aren't available for download but you can purchase in a store like HMV?  Apple isn't doing itself any favours by secluding countries by their store. They'd make billions if you could just select the iTunes Store you want to search &amp; purchase from just by signing in! If anything what they're doing is putting themselves into a corner, other companies like Samsung &amp; HTC are already on too of them for innovation &amp; ease of use. The people they're attracting are predominantly existing Apple users not new customers. What do you guys think?

    It's not Apple's choice, they can only sell a particular item where the content provider/rights-holder has granted them a license to sell them. Content is licensed by the rights-holders to Apple on a country-by-country basis, each country therefore has to have its own store, and you have to be in a country to use its store - they want control over where their content is available.
    You can try requesting that an item be added to the UK store via this page, but unless the rights-holder agrees to then Apple won't be able to sell it here : http://www.apple.com/feedback/itunes.html

  • How many types of requests are there

    hai,
    how many types of requests are there plz explain it plzzzzzzzzzzz
    thanks and regards,
    pg babu

    Hi ,
    We are not at all clear about your query here. Please let us know what kind of requests you are telling about. Is it regarding data base requests?
    Regards,
    Abhisek

  • Are there different versions of notification centre depending on iPhone?

    Are there different versions of notification centre depending on iPhone?
    May seem crazy but just noticed my wife's 4s has "Notification Centre" where as my 4 has "Notification Center"
    Her apps seem to work better such as Sky News which updates notifications all the time for her but never for me!
    Both running 6.0.1 and have same versions of apps.
    I've reset phone but no change.
    Any advise?

    I've updated my language settings to British English. Has changed title in Notification Centre but I'm still not receiving notifications from certain apps!

  • HT201342 Are there any setting or some way to show notifications for new email without open Apple Mail app ?

    Are there any setting or some way to show notifications for new email without open Apple Mail app ?
    You know , I am an OCD . I alway's close my Mail app and miss many important new emails .

    What I do is open the Mail.app, then click the red traffic light (upper left corner of the main Mail.app window) to close that window. The app itself will remain running and you will get updates - this helps keep the desktop tidy while while the mail app remains running. When an update is received, simply click the either the mail icon in your dock or go to the Mail.app menu and click Window > Message Viewer.

  • HT1355 If I am playing a song from my phone on speakers, how can I make sure that there are no interruptions like calls or notifications?

    If I am playing a song from my phone on speakers, how can I make sure that there are no interruptions like calls or notifications? My students are performing and it would be terrible if there was to be an interruption.

    You could turn on Do Not Disturb. This would block all notifications and incoming calls.
    Or just turn you're phone's Airplane Mode on if you're not streaming the music

  • Role Rejection Notification Issue

    Hi All,
    I have a doubt. Please help.
    When Request is rejected, Notification Event "REJECTED" triggers and mail notification is sent to inform Requestor or User.
    When user has selected 3 roles, out of which 2 are approved and one role is rejected. How to inform the user through mail notification that particular role is REJECTED by the role owner?
    Also I observed one more scenario
    My request has 2 roles with 2 different role owners. Both the owners rejected their respective roles and entered the comments for rejection. But since in LineItem rejection, role owners enters comments at LineItem level and then clicks on SUBMIT button, though both the roles are rejected at role owner stage, request is going to the next stage and getting closed there.
    Because of this the closing notification which we have maintained at 3rd stage is getting triggered though request ended at 2nd stage.
    I assume this is how GRC 10 system is behaving. So wanted to know how other consultants handled Role Rejection notifications in GRC 10.0. because i went through few notes and SAP confirmed that this is the standard behaviour
    1960393 - No detailed user notification for the rejected roles
    1849378 - GRC-10.0- MSMP, rejection notification is not getting triggered in case of 'System and Role' setting at Stage level
    Please provide your valuable inputs.
    Thanks in advance.
    Regards,
    Sai.

    Rejection notification will only be sent out if the whole request has been rejected, not if individual line items have been rejected.

  • Electronic signatures for Quality Notifications

    We are on 4.0b system and thinking of implementing electronic signatures functionality for quality notifications. Since SAP standard does not have this functionality we are planning to use Enhancement QQMA0014, function module exit EXIT_SAPMIWO0_020.
    To this effect, we are requesting your guidance for the following
    1.Is this customer exit available in latest version of SAP ?
    2. If we store these signatures (user id , date and time) in an custom table, can we move this custom table ,once we upgrade to a higher version.
    3. Is there any other way to implement electronic signatures for quality notifications in version 4.0b.

    Hi Isabelle,
    Thanks for your patience in understanding my question.
    My primary worry is if i use this exit to have electronic signatures in 4.0b and i know this functionality (Electronic  signatures) is standard in latest versions, what will happen to the electronic signature data that i create until i upgrade.
    The electronic signature data is the user id , date and time associated with a notification. I plan to store this in a custom table.
    I will appreciate , if you can share with me your analysis.
    Thanks
    Manoj Jain

  • Reject Notifications not appearing in list

    Hi Gurus,
    I've enabled AME's for payable Invoice approval. It is working fine but when any user reject the invoice then it is not sending any return reject notification to previous user who has submitted.
    Is there anything do I need to enable for triggering the reject notifications.
    Appreciate your help.
    Regards
    Nagendra

    Is there an Exchange server involved here?  Is Outlook involved here?  If so, which versions?  If Outlook only, I recommend that you post this in the Outlook Forum: 
    http://social.technet.microsoft.com/Forums/en-US/outlook/threads
    By the way, I've never known Exchange or Outlook to support this feature.
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • Reg_Access Request Submission Notification to GRAC_REQUESTER

    Hi All,
    I have an issues in SAP GRC 10.0 with respect to Notifications and variables, Currently in the Process SAP_GRAC_ACCESS_REQUEST, i have by default global notification settings which are mentioned below.
        Notification Event                              Template ID                                Recipient ID
    1. END_OF_REQUEST                         GRAC_AR_CLOSE                    GRAC_USER
    2. REQUEST_SUBMISSION                  GRAC_AR_SUBMIT                   GRAC_REQUESTER
    Now when i try to create a change access request which is by adding roles to the user in the connector system, the request gets submitted. So because of the Request Submission Notification event , a notification is sent to the requester and notification has the text which is mentioned in the document object associated to the message class<0AC_AR_SUBMIT>. Now i have created a custom Document object <Z_GRAC_AR_SUBMIT_BODY> and assigned that to the <0AC_AR_SUBMIT> by maintaining the table GRFNVNOTIFYMSG and also have changed the subject in that.
    But Now when the requester receives the notification, the subject is < Access Request Submission Notification > where as it is mentioned differently as shown below.
    Where as when the requester gets the submission notification as shown below, it looks different, i mean even the first name and last name too are not coming correctly.
    where as the user name maintained in the Requester's User master record is
    Could you please help why there are discrepencies and also how can i know where the sender is maintained, the mail id which sends the notifcations to the users.
    Thanks and Regards,
    Naga.

    Hi Filip,
    i have found out answer to one one part.
    Actually I have followed that document, and forgot to update one step, that is once i have created a custom document object thru SE61 and then we also need to assign it through SPRO-->GRC-->Access Control-->Maintain Custom Notification messages where we assign the custom document object to the message class and also we can update the sender there< from which user id's email id the notification mail should go to the requester) that is the reason why the mail is coming from GRCIDM rather than WF-BATCH...
    I have one more question , when ever requester is trying to raise a change request for assigning of roles to other user, when i click on the requester link as shown below, it is showing me details of the requester which in connector system.
    Note:Requester user id MARAMNA is present in both GRC system and connector system, where as it is showing me the details of connector system rather than GRC system.
    Thanks and Regards,
    Naga.

  • ITunes Store Podcast Rejected Notification

    Hi guys..
    I received a 'iTunes Store Podcast Rejected Notification' email on the 1st of this month & ever since then i've been trying to get to the bottom of it.
    My podcast had successfully been on itunes for almost 4 years without a hitch & out of the blue it was removed by itunes for no apparent reason.
    I've been emailing them back & forth & around 25 emails later they still haven't given me any specific answers (just links to various sites) & all they do is avoid the questions i ask & talk like robots. Now they have rudely ignored the last 10 emails i've sent.
    I can't understand why it has been removed as it has been on there for almost 4 years without a problem. My new episode was on there for a couple months & actually reached number 3 in the charts.
    I would also like to know if i do fix eventually fix this problem & manage to re-submit successfully, will i still have all my subscribers?
    So to the technical side.
    - I've tried re-submitting the feed maybe 10 times to no avail. Not even an email to acknowledge it.
    - I've used a 'feed validator' & it says the feed is fine
    - I've successfully managed to subscribe to the podcast via 'advanced', 'subscribe to podcast' through itunes & all the episodes appear fine
    I don't manually touch the feed itself. I post on to 'Podomatic' & i assume they deal with how the feed works.
    Podcast URL: http://djmaxcords.podOmatic.com
    Podcast Feed: http://djmaxcords.podOmatic.com/rss2.xml
    Any help would be really appreciated!
    Thanks
    Max

    Your podcast appears to consist of mixes of Michael Jackson and perhaps other records (I haven't examined the episodes in any detail), presumably mostly commercially issued tracks.
    If you have not obtained either permission in writing from the copyright owners, or a podcasting licence from a recognized authority, then you are in breach of copyright and that would be sufficient reason for your podcast to be removed (they may only just have woken up to it). I have to say that when they reject a podcast for reasons of content they really ought to give an indication that this is why.
    If you have in fact cleared the material for use in your podcast then you would have to make this clear to Apple.
    If you are able to resubmit and get approval, and are able to retain the same feed URL, then your subscribers shouldn't be affected.

  • Constant WiFi connection issues where other devices are fine. "Sending request..."

    I experience the same issues as some other posters here with the MacBook Pro, Lion, and certain networks.  All other devices (Android phone, Windows laptop, iPad...) deal with the situation just fine on the same networks.  The MacBook however gets its knickers in a twist:
    I get perpetual "Sending request..." messages at the status bar of Google Chrome.  All applications fail to find internet, despite full bars.  This was only an issue since upgrading to Lion.  A reboot of the Mac will always solve it, meaning it is not the router.  Rebooting the router often does not solve it. Turning WiFi off then on sometimes solves it.  Quitting Chrome/Safari sometimes solves it.  But rebooting the Mac always solves it.  This indicates it is an issue Apple really need to address.
    Are there any ideas here?  I have made sure there are no DNS entries.  I have deleted my home network several times and re-added it.  I have hard reset the router, and been through three (that's not a misprint) routers.
    I doubt it is a hardware issue with the Mac as it only started with Lion, on the same Mac.

    Does the iOS device connect to other networks? If yes that tend to indicate a problem with your network.
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network      
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem and it does not connect to any networks make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • Are there any other hidden editing options?

    Thanks to this forum, I've found the redeye tool in iPhoto to be quite useful, but this wasn't the case before I found out about the Caps-Ctrl-9 trick that was posted in this forum.
    Are there any other tricks that anyone has discovered in iPhoto that isn't mentioned in the help list?
    And any speculation as to why these tools aren't mentioned in the help file? I mean, at first I was ready to give up on iPhoto because of the weak redeye. Why wouldn't they show us how to do this?
    Thanks again to everyone here for contributing and making this a great place to learn about my Mac!
    Paul
    15" MacBook Pro 2.33GHz   Mac OS X (10.4.8)  

    Paul:
    Welcome to the Apple Discussions. There is a hidden feature for changing the Redeye and Retouch tool size:
    How to Change the Size of the Retouch and Red-Eye Removal Tool
    Type Caps lockControl9
    Undo caps lock
    Click on the Retouch or Red-Eye Removal tool
    The tab key will toggle between cursor types, a cross or a circle
    The "[" and "]" keys decrease or increase the size accordingly.
    NOTE: Using the "{" "}" keys will will change the value next to the circle and that represents the degree of change or intensity that the tool imparts on each pass.
    Also check out the tip at the end of my signature for backing up the library database file on a frequent basis.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application, iPhoto dB file backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

Maybe you are looking for

  • Can I get rid of the TOC button on the playbar?

    My project is set up to have a TOC and for most of my project I use a TOC button with widget to open the TOC. I am also using the Playback control Pearl for a portion of my project. When in this section where the playback control is active if I choos

  • Can't play some games with 7.0.4 - can't play videos without it!

    My son has been having troubles playing Roller Coaster Tycoon 3 on his powerbook for awhile now - it would crash on opening. We experimented last night, and discovered on the game site that they recommended not using Quicktime 7.0.4 for this issue. W

  • Edit HTML Report to remove section dividers

    Running test sequences and using the HTML format for reports.  Configured the Results Processing / Report Generation to only show failures in the report.  When I get the report, it still shows several black lines in between the tests that failed.  Pr

  • Restrict SNP orders on PPDS board

    Hi Gurus, When ever I am accessing the Detailed Scheduling board I am able to see both SNP and PPDS planned orders. I want to see only PPDS orders and not SNP orders. What settings I have to do to achieve my requirement. Regards Sravan Maturu

  • Webcenter Content and WCI 10gR4

    I'm trying to find information on how to integrate Webcenter Content(UCM) and Webcenter Interaction 10gR4. Any help would be GREATLY appreciated! Thanks, Steve