IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

[SOLVED] Task Notification e-mail not sent

  • 1.  [SOLVED] Task Notification e-mail not sent

    Posted Tue April 08, 2014 06:59 AM

    Hi everybody

    I’ve made a Task Notification to let a manager of the company the application is for, know when a Task is being queued for his evaluation. But the mail is not sending, so let me give you all the settings I’ve configured.

    1. Create Task Notification

    1. Assign the user task to the corresponding role

    1. Create event to send notification (this event works, I tested by changing a value, it just doesn’t send the notification)

    1. Subscribe role to task (e-mail address for role is set: Dynamic Attribute)

    What am I missing here, I’m still new to Software AG.

    If anything isn’t clear please don’t hesitate to ask.

    With kind regards
    Kevin


    #webMethods-BPMS
    #MWS-CAF-Task-Engine
    #webMethods


  • 2.  RE: [SOLVED] Task Notification e-mail not sent

    Posted Wed April 09, 2014 10:07 AM

    Hi Kevin,
    Steps you performed are correct only last step (step no 4) i did not use in my project. For subscribing notification you need to login with you credentials and open the task then click on “Subscriptions”. in next page you need to click on “Subscribe” button then it will show available task. Once you select the task it will show all the available notification for that task, choose whatever you want then click on “subscribe” button and you are done.
    Also you need to configure mail server on MWS as well (I hope you would have already done this step).


    #webMethods-BPMS
    #webMethods
    #MWS-CAF-Task-Engine


  • 3.  RE: [SOLVED] Task Notification e-mail not sent

    Posted Wed April 09, 2014 10:17 AM

    Hey Vikas

    Thanks for replying.

    Does it really matter what user you are logged in with because I have also tried subscribing a user from the role ‘Manager’ to the notification (while logged in as Administrator) but that still didn’t work.

    And the Mail server is configured and tested so there shouldn’t be a problem there.


    #webMethods-BPMS
    #MWS-CAF-Task-Engine
    #webMethods


  • 4.  RE: [SOLVED] Task Notification e-mail not sent

    Posted Wed April 09, 2014 10:25 AM

    Hi Kevin,
    That is ok but that is for when task is queued then it will be available to that role/group/user but if you want email to be triggered as soon as task is queued then login to MWS with the user id and look for that task then performed the steps i mentioned in my previous post.
    It is very simple. What i feel is you have done all the steps but this one. Until you perform this step email notification will not trigger.


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine


  • 5.  RE: [SOLVED] Task Notification e-mail not sent

    Posted Wed April 09, 2014 10:38 AM

    I am still able to subscribe other users to the subscription while logged in as that user, is this normal?


    #webMethods-BPMS
    #webMethods
    #MWS-CAF-Task-Engine


  • 6.  RE: [SOLVED] Task Notification e-mail not sent

    Posted Wed April 09, 2014 10:45 AM

    Hi Kevin,
    It seems i am not clear in my statement. I try again. Login to MWS with user id who is having access to that task. go to the Task inbox. Just below the task inbox search result bar on the right hand side of the page you see a link call subscription. Once you click on it you will get to know what next step you have to do.

    It is not possible to subscribe task for different users when login with some other user id.

    Also when you say “still able to subscribe other users to the subscription while logged in as that user” where you are doing this exactly ? On which you are? what option you choose?
    What feel to me is you are trying to do it on designer? If it is true then try doing it on MWS.


    #webMethods-BPMS
    #webMethods
    #MWS-CAF-Task-Engine


  • 7.  RE: [SOLVED] Task Notification e-mail not sent

    Posted Wed April 09, 2014 10:59 AM

    I did the subscription from Task List Management. And what do you mean by Task Inbox, is this the link displayed as ‘My Inbox’?


    #webMethods-BPMS
    #MWS-CAF-Task-Engine
    #webMethods


  • 8.  RE: [SOLVED] Task Notification e-mail not sent

    Posted Wed April 09, 2014 11:06 AM

    Ohh… so you are doing it as an administrator. It is fine. that you can do as well. So what is the outcome? Is it still not working?


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine


  • 9.  RE: [SOLVED] Task Notification e-mail not sent

    Posted Wed April 09, 2014 11:08 AM

    Nope, can’t get it to work. And I just checked on the E-mail Server and sent a test mail, this worked so the problem doesn’t lie there… :s


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine


  • 10.  RE: [SOLVED] Task Notification e-mail not sent

    Posted Wed April 09, 2014 11:16 AM

    Hi Kevin,
    In the Events section Event type is ‘queued’ and in extra condition you selected as ‘all are true’ but you did not add any condition. Try adding condition then see if it is works. Other than that i do not see any other issue and this is the only difference i found in your implementation and mine.


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine


  • 11.  RE: [SOLVED] Task Notification e-mail not sent

    Posted Wed April 09, 2014 11:23 AM

    I set ‘Email is not empty’ as a condition but it still doesn’t work. :s


    #webMethods-BPMS
    #webMethods
    #MWS-CAF-Task-Engine


  • 12.  RE: [SOLVED] Task Notification e-mail not sent

    Posted Wed April 09, 2014 11:28 AM

    Hi Kevin,
    When you add condition you choose field from “Task Info” and its value from “Business Data”. Hope you have done the same.


    #webMethods-BPMS
    #webMethods
    #MWS-CAF-Task-Engine


  • 13.  RE: [SOLVED] Task Notification e-mail not sent

    Posted Wed April 09, 2014 11:32 AM

    I tried but still nothing, could I maybe see your example? Maybe that’ll help me understand.


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS


  • 14.  RE: [SOLVED] Task Notification e-mail not sent



  • 15.  RE: [SOLVED] Task Notification e-mail not sent

    Posted Wed April 09, 2014 11:51 AM

    I have set ‘Creation Date is not empty’ from Task Info, but still nothing…


    #MWS-CAF-Task-Engine
    #webMethods-BPMS
    #webMethods


  • 16.  RE: [SOLVED] Task Notification e-mail not sent

    Posted Wed April 09, 2014 11:56 AM

    Hi Kevin,
    If still it is not working then I would say better log a ticket to SAG as you performed all the necessary steps and i do not see any other thing to try.
    If anyone else would like to add then it is better else i would suggest check with SAG. As to me it is working and I followed the steps we discussed in previous post.

    Did you check the logs? Do you see any error there?


    #webMethods-BPMS
    #MWS-CAF-Task-Engine
    #webMethods


  • 17.  RE: [SOLVED] Task Notification e-mail not sent

    Posted Fri April 11, 2014 10:37 AM

    Found the problem!

    In permissions management I had to grant the Manager Role the right permissions for the email to be sent.

    Thanks again for your effort and help.

    EDIT After some trial and error I have found that the ‘Tasks Administration’ permission has to be granted. Other permissions haven’t been tested individually but without that one the mail doesn’t get sent. Other permissions are configured the way I need them so no need for me to test those. Maybe there’s anyone who can complete my list? :stuck_out_tongue:


    #MWS-CAF-Task-Engine
    #webMethods-BPMS
    #webMethods


  • 18.  RE: [SOLVED] Task Notification e-mail not sent

    Posted Mon April 14, 2014 11:34 AM

    Hi,

    We’re having an issue that look just like yours.
    What do you mean exactly by “In permissions management I had to grant the Manager Role the right permissions for the email to be sent.”

    Where can I see if it’s ok for me ?

    Thanks for your help.

    Franck


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS


  • 19.  RE: [SOLVED] Task Notification e-mail not sent

    Posted Mon April 14, 2014 11:51 AM

    Hey Franck

    I hope this screenshot is what you need?

    You just have to go to Permissions Management, select Tasks as Resource Type in the top. After that, search and put the task on which you wish to grant the rights in the column on the right hand side. After that, everything should make sense.

    PS I granted all right to my role because I don’t know exactly which ones will be / won’t be necessary yet.

    If you still have questions please don’t hesitate to ask.

    With kind regards.
    Kevin


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS


  • 20.  RE: [SOLVED] Task Notification e-mail not sent

    Posted Mon April 14, 2014 01:26 PM

    HI again,

    Thanks for the reply.
    I guess it was not the same issue.
    I set the roles with maximum rights, but the emails are still not sent.

    I was worth the try.

    Thanks again.

    Franck


    #MWS-CAF-Task-Engine
    #webMethods-BPMS
    #webMethods


  • 21.  RE: [SOLVED] Task Notification e-mail not sent

    Posted Tue April 15, 2014 04:52 AM

    Okay, sorry to hear it didn’t work. If you fix it please post the solution here for future reference.

    With kind regards
    Kevin


    #MWS-CAF-Task-Engine
    #webMethods-BPMS
    #webMethods


  • 22.  RE: [SOLVED] Task Notification e-mail not sent

    Posted Tue April 15, 2014 06:36 AM

    Hi,

    We corrected it yesterday.
    To sum up :
    notifications were working for a time, and then one day, it stopped working.
    It was just after fixes being installed (or reinstalled to be precise, because it seems it was not installed well on the first try).
    The table T_JMS_SUBSCRIPTIONS was altered, all the .xxx lines had a timestamp set to -1.
    We set it back to null on all those lines, and then the notifications worked again.

    As you see the issue was not the same as you, but the result was the same, no email notifications.

    Anyway we were inspired by the case #1737740 (altough not the same issue, the resolution fitted ours).

    Regards,
    Franck Petit


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS


  • 23.  RE: [SOLVED] Task Notification e-mail not sent

    Posted Tue April 15, 2014 06:47 AM

    All right! Thanks a lot for posting your solution :slight_smile:


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS


  • 24.  RE: [SOLVED] Task Notification e-mail not sent

    Posted Sun May 17, 2015 10:15 AM

    Hi,
    For getting task notification is it necessary to subscribe the notification.

    Because in my case,I have some external users who are about to get userTask assigned to their ID/Group/Role.
    So,I think it may be sometime may be not good for all external user to subscribe the task.

    My requirement is to send some notification(may be email)to all group member once the some task is getting assigned to some group.
    Is the any way to subscribe the task for some one else or if there is any other way to send the notification apart from subscribing.

    Thanks
    Baharul


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine


  • 25.  RE: [SOLVED] Task Notification e-mail not sent

    Posted Mon May 18, 2015 02:49 PM

    Login with an account that has administrative rights and create a subscription for the role or group. This way, all users in the role or group will get the notification. They don’t each have to subscribe to it.

    Percio


    #webMethods-BPMS
    #MWS-CAF-Task-Engine
    #webMethods