Notification sent to all users in a role when some of them responded in first reminde

Hi,
We have a workflow using (voteforresult, standard voting method) sending notifications to users via role. Sends first notification times out sends second one. If some users responded to notification in first email it still sends email to all users second time. Is it not suppose to send email only to
users who hasn't responded.
Example: ROLE01 has USER01, USER02, USER03. Sends email to all three, USER01 responds
after first timeout cancellation is sent to USER02 & USER03 and new notification (second one)
to all three even though USER01 has responded.
thanks,
Sridhar.

Hi Mark,
Thanks very much for response.
Does post notification function also resolves who has responded first time in a role and sends
notification only to others. Like in the example below
Example: ROLE01 has USER01, USER02, USER03. Sends email to all three, USER01 responds,
after first timeout cancellation is sent to USER02 & USER03 and second notification
to all three even though USER01 has responded. What we are looking for is sending
second notification only to USER02, USER03 who has not responded first time.
If there is a standard package or an example which i can look at would of great help.
thanks again,
Sridhar.
See the Workflow Guide on Post Notification Functions:
You can associate a post-notification function with a notification activity. The Workflow Engine executes the post-notification function in response to an update of the notification's state after the notification is delivered. For example, you can specify a post-notification function that executes when the notification recipient forwards or transfers the notification. The post-notification function could perform back-end logic to either validate the legitimacy of the forward/transfer or execute some other supporting logic.
If a notification activity times out, the Workflow Engine runs the post-notification function for the activity in TIMEOUT mode. For a Voting activity, the TIMEOUT mode logic should identify how to tally the votes received up until the timeout.
Hi,
We have a workflow using (voteforresult, standard voting method) sending notifications to users via role. Sends first notification times out sends second one. If some users responded to notification in first email it still sends email to all users second time. Is it not suppose to send email only to
users who hasn't responded.
Example: ROLE01 has USER01, USER02, USER03. Sends email to all three, USER01 responds
after first timeout cancellation is sent to USER02 & USER03 and new notification (second one)
to all three even though USER01 has responded.
thanks,
Sridhar.

Similar Messages

  • Getting tasks for all users in a role

    Hi,
    We need to get all users in a Role, and out of those, find out which one has the least tasks in their UWL using a WebService. Saw some example codes and here's my attempt at it. Doesn't quite work, I'm getting the Logged in users context or session doesn't exist Exception. Any help on this will be GREATLY appreciated.
    public class LeastTasksBean implements LeastTasksLocal {
         public String getUserLeastTasks( String sRole )
              try{
                   Map<String, String> users = new HashMap<String, String>();
                   Map<String, String> tasks = new HashMap<String, String>();
                   final int sessionIdleTimeout = 60;
                   String Users[] = UMFactory.getRoleFactory().getUsersOfRole( sRole, true );
                   if( Users != null ){
                        for( int i = 0; i < Users.length; i ++ ){
                             UWLContext  uwlContext      = new UWLContext();
                             IUWLService uwlService      = findService();
                             uwlContext.setAllowBackEndConnections( true );
                             IUser uwlContextUser        = UMFactory.getUserFactory().getUser( Users[0] );
                             uwlContext.setUser            ( uwlContextUser );
                             Locale loc                  = new Locale( "ES" );
                             uwlContext.setLocale          ( loc );
                             HttpServletRequest request  = getHttpRequest();
                             uwlContext.setOriginRequest   ( request );
                             IUWLSession session         = uwlService.beginSession( uwlContext, sessionIdleTimeout );
                             uwlContext.setSession         ( session );
                             IUWLItemManager itemManager = uwlService.getItemManager( uwlContext );
                             QueryResult result          = itemManager.getItems( uwlContext, null, null );
                             users.put( String.valueOf( i ), uwlContext.getUserName() );
                             tasks.put( String.valueOf( i ), String.valueOf( result.getItems().size() ) );
                             uwlService.endSession( uwlContext );
                        int userTasks = 0;
                        int leastTasks = Integer.valueOf( tasks.get( 0 ) );
                        int userKey = 0;
                        for( int i = 0; i < Users.length; i ++ ){
                             userTasks = Integer.valueOf( tasks.get( Integer.toString( i ) ) );
                             if( userTasks < leastTasks ){
                                  leastTasks = userTasks;
                                  userKey = i;
                        return users.get( Integer.toString( userKey ) );
                   else{
                        return "No users exist for this role";
              //Exception Handling
         private IUWLService findService() throws NamingException
              Properties properties = new Properties();
              properties.put( InitialContext.INITIAL_CONTEXT_FACTORY, "com.sapportals.portal.prt.registry.PortalRegistryFactory" ); 
              InitialContext ctx = new InitialContext( propiedades ); 
              IUWLService uwlService = ( IUWLService ) ctx.lookup( IUWLService.ALIAS_KEY );
              return uwlService;
         private HttpServletRequest getHttpRequest() throws Exception
              Properties properties = new Properties();
              properties.put( "domain", "true" );
              ApplicationWebServiceContext wsContext =
                   (ApplicationWebServiceContext) new InitialContext( propiedades ).lookup( "/wsContext/" + ApplicationWebServiceContext.APPLICATION_WSCONTEXT );
              HttpServletRequest request = wsContext.getHttpServletRequest();
              return request; 

    Hi David,
    I have a similar requirement on our project. I need to get a count of pending workitems for all user but I'm getting similar message when I try to access UWL context of any other user.
    Did you find any solution for this? Is it possible to get the workitems for all users using webservice or wendynpro?
    I would appreciate if you can provide some inputs on this.
    Thank you in advance.
    Regards,
    Seema Rane

  • Single notification email for all users

    Hi friends,
    Is there any way of setting a single notification email for all users in oracle 11i so that all the notification email goes to that email address (for test purpose only)?
    thanks in advance.
    LISAN

    See MOS Doc 562551.1 (Workflow Java Mailer FAQ ) and search for "override address". More details in MOS Doc 828812.1 (How To Stop Old Outbound Workflow Notification Email Messages During Clone Activity)
    HTH
    Srini

  • How can I display all my e-mails.  Only some of them show up now...thanks to an apple representative in the apple store

    How can I display all my e-mails on all my Apple products?  Only some of them show up now...thanks to an apple representative in the apple store.  Also, he put my oldest emails in POP (???)

    How can I display all my e-mails on all my Apple products?  Only some of them show up now...thanks to an apple representative in the apple store.  Also, he put my oldest emails in POP (???)

  • "expand role" nt waiting for all users in the role to view the notification

    I have created adhoc roles using the following code.
    lv_user_list_txt := 'SYSTECH'||','||'FNATECH';
    wf_directory.createadhocrole (lv_role_name_txt, lv_role_display_txt);
    wf_directory.adduserstoadhocrole (lv_role_name_txt, lv_user_list_txt);
    I have assigned it to the Item attribute of type 'Role' using the following code.
    wf_engine.setitemattrtext (
    itemtype => itemtype,
    itemkey => itemkey,
    aname => 'LIST_OF_APPROVER',
    avalue => lv_role_name_txt
    I have checked the 'Expand role' check box in the notification and assigned the performer as the Item attribute(Role type) 'LIST_OF_APPROVER'.
    But when one user in the role approves or rejects, the notification of the other user is cancelled. the other user can no longer view the notification.
    Ideally, after checking the 'Expand role', the workflow should not proceed to the next node until, all the user have performed an action. But this is not happening. Please help on this :(
    Thanks in Advance.
    Anitha.

    yes, I did. I spent at least 8 hours searching for a solution here, in the forums and tried everything making sense... The EFI downgrade was the only thing that helped.
    My personal opinion is: Apple should offer the EFI downgrade option to all users in an official way. It looks like my favorite vendor does not want to admit they made a hardware+software mistake (the EFI 1.7 update solves some HDD issues on some new MBPs but causes other problems on other MBPs).
    Message was edited by: Bartek Bargiel

  • Getting UWL task count for all users in a role.

    Hi.
    I recently posted a question regarding a very similar issue, but I haven't got any response yet. I think my question might have been somewhat poorly phrased, so I will try to do better at explaining what we need.
    We have a number of processes, most of which need to be dynamically assigned to a user when created. The way we want to assign those tasks is by executing a WebService which would receive a role name and get all the users for that role. Then, using the UWL API, it would check how many tasks each of the users have in their UWL, and return the UserID for whoever has the least tasks. I haven't been able to get this to work. I keep getting Logged in users context or session doesn't exist Exception.
    Please, any help on this will be greatly appreciated.
    Currently working with SAP NWDS 7.1 SP05 PAT0005

    Hi,
    Thank you for your response, however, that's not what I need.
    For you and anyone esle who might find this extra info useful...
    I know how to get a user's role(s), and how to get the users in a role.
    I also know how to assign a task to a specific user dynamically.
    Using the UWL API, I know how to get the tasks (or items) in a user's UWL from a WD application, I need to do that from a WebService and using pretty much the same code, with the necessary adjustments, I can't get it to work.
    Furthermore, I'm able to get the UWL tasks for ONE user, that user being the one I log into the application with. For example, if I write code to get the tasks for user testUser1, I need to log in with testUser1 to get it to work, if I log in with any different user or make it a non-authenticated application, it won't work.
    Again, help on this is much needed and will be appreciated.

  • Rule returns no agent and workitem sent to all users

    Hi,
    In my workflow I have defined a rule fot a workitem. The task is general task. When this rule does not return a possible agent system is sending workitem to all the users in the system.
    I tried to make the task general forwarding not allowed, then the workitem is not triggered saying no agent assigned though my rule results in an agent.
    I can give a user of workflow administrator or dummy user in rule - function module. But what is the standard way of solving this issue. I was expecting the workflow to go into error mode when my rule - function module returns no agent instead its going to the inbox of all users in the system.
    Please advise.
    Best Regards,
    Aleem Mohiuddin.

    In PFAC ubder Rule definition tab...
    You have a chck box for  "Terminate if rule resolution without result"
    Please cheeck this and try.

  • Why dont i have all my songs in itunes when i add them

    why arent there all my songs(574) in iTunes when i add them to my libary??
    it sais there are only 548

    Are they in a supported format for iTunes?
    Adding music to iTunes
    From the above link: "iTunes helps you add digital audio and video files on your computer directly to your iTunes library. You can add audio files that are in AAC, MP3, WAV, AIFF, Apple Lossless, or Audible.com (.aa) format."

  • TS20000168 workflow sent to all users

    Hi all,
    I need help with the following problem:
    I have set up TS20000168 (mm_po_ok)  for workflow notification to be sent when the release of a purchase order is effected. For the activity "Release of purchase order effected", I have already set the agent using the expression &_WF_INITIATOR&.
    However, when the workflow is triggered, all my users, instead of only the initiator, will get a similar message in their inbox. Why is this so? Is there something I should look out for?
    Any form of help is appreciated. Thank you in advance.
    Cheers,
    Daniel

    Hi,
    I am using the same workflow it working fine.
    1) Check it is general Task, if you developing in one client and testing in another client, then in the testing client check whether it is general Task
    2) Check the binding is as below,
    Workflow to Task
    &RELEASECODE&      -
    > &RELEASECODE&
    &PURCHASEORDER& -
    >  &_WI_OBJECT_ID&
    Task to workflow
    &PURCHASEORDER&  -
    >  &_WI_OBJECT_ID&
    3) Then Save & activate and test the workflow
    4) If still same problem, check any authorization issue.
    Regards,
    Surjith

  • GWCHECK was sent to all users

    Hi All,
    Yesterday I ran a GWCHECK to use the GWMBSIZE utility on the log file.
    Options selected were:
    Analyze/Fix DB
    Contents
    Collect Stats
    Databases checked were User and Message
    I set the results to go to administrator and our helpdesk account.
    This morning I came in to find all the users had received the log of their individual mailboxes in their mailboxes.
    Thats never happened before. Any ideas on what went wrong or why it happened?
    Thanks
    Dave

    On 14.02.2011 23:36, dwiseman2 wrote:
    >
    > I set the results to go to administrator and our helpdesk account.
    And you activated the checkbox "individual user". BTDTGTT. That checkbox
    does exactly that, send the result to each user for that a check is
    done. Many people (including myself once in a while), believe it has to
    be checked to be able to specify specific additional accounts where the
    results shold be sent to. That's not the case.
    CU,
    Massimo Rosen
    Novell Product Support Forum Sysop
    No emails please!
    http://www.cfc-it.de

  • Does email notification go to all users on my account?

    When I turn off Find My iPhone, I get an automatic email reporting that I have turned it off.
    Is this email also sent to my kids phone and wife's phone? Or is it just sent to the email (my email address) that is associated with our iPhone account?
    In other words, if I turn off Find My iPhone, will the rest of the family be notified that I turned it off?

    This might be a warning message coming from the email client. What email client are you using? You might want to research if there is any setting that you can use to suppress this message.

  • All user profiles have defaulted to High Contrast Theme

    This is in an academic, RDP only environment. 3 server 2012 machines, 2 of them are DC's. The two with the problem happen to be the DC's
    A student changed his/her theme to High Contrast, for whatever reason, everyones theme was changed, except Administrator. Users connect via NComputing thin clients.
    Ive removed the High Contrast theme from Resources/Ease of Access, now new users dont receive the High Contrast theme by default. But existing users still have the High Contrast theme on logon. 
    Group Policy controls the theme settings but it doesnt seem to have any affect. 
    Is the High Contrast theme stored in their profile somewhere? NTUSER.DAT ? We have well over 300 users, so it is a chore to do it manually. Id like to find the registry setting that is adding this. It seems odd that only two of the three servers are doing
    this. Ive compared registry settings, even imported/exported HKU/.DEFAULT but it doesnt seem to have any affect.

    Hi,
    Based on my knowledge, the theme does not store in NTUSER.DAT. Please let us know if you use the Microsoft remote desktop client or third party remote desktop clients.
    If you third-party ones, I suggest contacting their support first.
    In addition, please provide us screenshots for further research.
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • Hi, my old laptop has died, and I need to set up my ipod on my new one, can I do this without losing all the music on it, as some of them are from  old cd's I no longer have??

    Hi, my laptop died recently, and I have purchased a new one, I want to connect my ipod to it to synch to Itunes but I don't want to lose everything on it, as some are cd's I no longer have, is there a way of synching without losing everything x

    Your iPod is designed to sync with only one iTunes library at a time.  It will recognize the iTunes library on the new PC as a new library.  If you sync the iPod with this new library, all content will be erased from the iPod and replaced with what is in the new library.  So what you will want to do is copy everything from the iPod to your new iTunes library on your PC first.
    See this older post from another forum member Zevoneer covering the different methods and software available to assist you with the task of copying content from your iPod back to your PC and into iTunes.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • Send notification to all users of specific responsibility in 11i

    Hi All,
    Is there anyway to send notification to all users of specific responsibility in 11i ?
    I have a setup form for hierarchy level (e.g level 1 - 5) by which each level will be notified either by responsibility or user?
    If its setup by responsibility, notification will be sent to all users under that responsibility.
    Do i have to create role using WF_DIRECTORY.CreateAdHocRole and add all users for specific responsibility to the role?
    Also if the responsibility setup changed, how to maintain the existing notification with the old resp.
    eg. level 1 is set to resp X then later on set to resp Y.
    Regards,
    Fendy

    Use 'Expand Roles' to achieve this. Please check the WF Developers Guide to see how it works.
    Yes, you may use wf_directory.createadhocrole for this purpose too.
    What do you mean when you say the responsibility has changed? It it is end-dated no notification should be sent to any of its members. It depends on the assignments of the role/user. if the assignment is used then the user will get it. If the assignment is end-dated then the user will not get the notification.
    You can always use wf_local_synch.Propagate_user_role to change the assignment of a user/role. If you want to end-date it, you can use it. Or you can add another user to the role, etc.
    Hope this helps,
    Alejandro

  • Tracking notifications sent from BPM process - User Messaging Service

    Hi,
    I have a requirement to track the notifications sent from all the BPM processes in one place.
    My Requirement is to (1. Check the status, sender, receiver of the notification, 2. view the actual content of the notification, 3. Resend the notification)
    Few options I have explored are below. Need experts advice please
    1. Enterprise Manager gives the option to check each notification status and option to resend the message. I have two problems with this option
         a) It does not solve my requirement of 'viewing the content of the message'. It does not show what is the actual message content. though we can see other notification details like sender, receiver etc...
         b) users does not want to go to enterprise manager. They need a separate UI based on ADF.
    2. Tried to build a UI based on UMS EJB API and UMS WebService API. Both the APIs provide the operations to check the status of the message. But there is no API that returns the actual content of the message
         a) It does not solve my requirement of 'viewing the content of the message'. Both the APIs does not expose any operation to retrieve the message/message content. I see AccessPoint as one options but, In my      case, Application need to track the messages sent to all the users, not particular address.
         b) There is no operation exposed to resend the message. Not sure how it is being done through enterprise manager.
    3. Tried by directly accessing the ORASDPM schema of UMS to fetch the content of the message. found that the content of the message is stored in 'MESSAGE_OBJECT' Blob column of 'MESSAGE' table.
         Built an ADF application based on ORASDPM schema. Following issues:
         a) could not parse the BLOB column data. Tried using a blob converter which converts the stream to text. but the conversion is not happening properly.
         b) Need to figure out how to resend the message.
    My environment: Oracle 11g , JDeveloper 11g Release 1 11.1.1.6.0
    Thanks in Advance.

    Hi,
    try this question on a BPM forum please.
    Frank

Maybe you are looking for

  • Oracle Forms 11gR2 - Cannot deploy locally from within Forms

    I cannot deploy locally from within forms.  The server is up and running and I can deploy the form by putting the correct URL in the address line of the browser window.  When I try to deploy from within forms it comes up with some crazy URL that diff

  • How to read files in container

    I would like to read some settings from a file in my web application (deployed to to Tomcat-6.0.18). I can read files every where with this statemet: new FileReader("Settings.ini") but when I deploy my application to Tomcat It doesn't work. I use som

  • Creative Suite 6 installation stuck on windows 7

    Bought creative suite 6 Design and Web Premium and started the installation on windows 7 Went with default installation and selected all (default)..  After around 20 min or so it keeps accessing CD drive while installing acrobat X.   Looks like it go

  • IPod Touch delayed to New Zeland ???

    Well I just spoke to Harvey Norman, because I wanted to know if they would be in for the 28th. The seller told me that NO they got an e-mail today saying that they wont be in until mid to late next month!!!! and there wont be any stock in the country

  • Timezone offset for dst in LabVIEW 8.5

    I think there is a "bug" in LabVIEW 8.5.1 and probably 8.5 too. I used to have an application that was transmitting timestamp data between computers in some sort of HTTP protocol. The server application has been build in LabVIEW 7.1 and remains in th