Details
-
Story
-
Status: Closed
-
Critical
-
Resolution: Completed
-
None
Description
Context
Currently, in Email notification templates, Creator term is supported, but only retrieving its name.
For real scenarios, email notifications are sent dynamically to users related to the object entry, as creator, the current user updating, or even from a relationship with user (as assingee).
For this story, the goal is to allow users to use the variables of Creator and Current User in notification templates (email and user notifications).
Use Cases
- In a ticketing object, send a confirmation that the ticket was opened for the ticket creator email.
- Create a template where the message displays only the first name of the current user.
- Create a template where the message displays the full name (first name + last name) of the current user.
Design Deliverables
Acceptance Criteria
- Allow users to add the following terms on To, CC, BCC, From, Subject, and Template fields in email notification settings
- [%CURRENT_USER_ID%]
- [%CURRENT_USER_FIRST_NAME%]
- [%CURRENT_USER_LAST_NAME%]
- [%CURRENT_USER_EMAIL_ADDRESS%]
- [%OBJECT_AUTHOR_ID%]
- [%OBJECT_AUTHOR_FIRST_NAME%]
- [%OBJECT_AUTHOR_LAST_NAME%]
- [%OBJECT_AUTHOR_EMAIL_ADDRESS%]
- Allow users to add the following terms on Recipients > Definition of Terms > To and Subject fields in user notification settings
- [%CURRENT_USER_ID%]
- [%CURRENT_USER_FIRST_NAME%]
- [%CURRENT_USER_LAST_NAME%]
- [%CURRENT_USER_EMAIL_ADDRESS%]
- [%OBJECT_AUTHOR_ID%]
- [%OBJECT_AUTHOR_FIRST_NAME%]
- [%OBJECT_AUTHOR_LAST_NAME%]
- [%OBJECT_AUTHOR_EMAIL_ADDRESS%]
Definition of Done (DoD)
- All Acceptance Criteria were passed;
- Make sure that the expected automated tests were created (unit / integration / functional) and passed successfully;
- Validated by QA and Product Manager;
- No blockers related to Story scope (FP5);
- Make sure that all system documentation tickets are created;
Ticket Updates:
- Provide the following terms as well because they're already supported, see:
-
- [%CURRENT_USER_MIDDLE_NAME%]
- [%CURRENT_USER_PREFIX%]
- [%CURRENT_USER_SUFFIX%]
- [%OBJECT_AUTHOR_MIDDLE_NAME%]
- [%OBJECT_AUTHOR_PREFIX%]
- [%OBJECT_AUTHOR_SUFFIX%]
Attachments
Issue Links
- demands
-
LRDOCS-11634 Update Notification Template's documentation with the changes about available terms
-
- Closed
-
- depends on
-
LPS-172156 Investigate and document all variables (from expression builder and terms) are available in Objects Framework
-
- Closed
-
- is a dependency of
-
LPS-178762 Create Integration Tests for Story LPS-171625
-
- Closed
-
-
LPS-179736 Remove FF of use relevant user information on notification template settings
-
- Closed
-
-
LRDOCS-11716 Use relevant user information on notification template settings
-
- Closed
-
- is related to
-
LPS-154873 Custom notifications for Liferay Objects (Second Iteration)
-
- Closed
-
-
LPS-159052 As a power user, I want to use definiton of terms as data to senders and recipients of notifications
-
- Closed
-
-
LPS-156148 Custom Notifications for Liferay Objects
-
- Closed
-
- split to
-
LPS-177959 [BE] Add integrations Tests - Notification template settings
-
- Closed
-
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...