Send a notification email after a work item is newly created
![]() I want to send an email only when a work item is completely created (i.e. all preconditions and follow-up actions have passed successfully).
|
Accepted answer
![]()
Ralph Schoon (62.7k●3●36●43)
| answered Jul 10 '17, 11:06 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER You can create a followup action. It is pretty easy to detect that a work item is new. The extensions Workshop has some code for it already.
Krasimir Malchev selected this answer as the correct answer
Comments In case option number 1 is selected and I create a participant and send an email in case a new work item is created, how can I be sure that I will not send an email and them another participant fails (executed after mine) which can prevent from saving the work item?
The order is the order the behavior is configured for the operation and role from top to bottom.
Just for confirmation, the only way to ensure that I send an email to a user right after a work item has just been created is to put my participant in the end of all follow-up actions list?
That is, there is no other mechanism to determine if the work item is saved just like the subscription feature which sends emails as soon as a given action is executed (completed with success).
I am sure there are other mechanisms that can be used, but I don't have any particular information about them. I can only answer what I know.
Thanks a lot!
For the time being, this solution works for us :-)
|