Creating an email action | HCL Digital Experience
Define the action properties of the email action.
Procedure
- Select the types of users to send emails to. You can select:
- Users who are assigned approver access in the workflow stage the email action is run on
- The authors and owners of the workflowed item
- The authors and owners of items that reference the workflowed item
- Click Select Other Recipients to
select extra email recipients.
- Enter text to include in the email in addition to the automatically
generated message. Note:
- The language of the automatically generated message is determined
by the language set in the WebSphere® Application Server administration
console. To change the language, go to Resources>Resource
environment>Resource environment providers > WP LocalizerService >
Custom properties and change the
locale.default.language
property to the appropriate language code. - To modify the URL displayed in the email message, modify the
WCM WCMConfigService
service and specify the following property:- Property name:
wcm.authoringui.url
- Value:
http://${WCM_HOST}:${WCM_PORT}/${WCM_WPS_CONTEXT_ROOT}/${WCM_WPS_PERSONALIZED_HOME}/wcmAuthoring
- Property name:
- The language of the automatically generated message is determined
by the language set in the WebSphere® Application Server administration
console. To change the language, go to Resources>Resource
environment>Resource environment providers > WP LocalizerService >
Custom properties and change the
- Select the Date Type to use to trigger
the email action.
- Selected date
- This action is run when the date and time you specify in step 5 is reached.
- Live date
- This action is run when the publish date specified in an item, plus any offset, is reached.
- Expiry Date
- This action is run when the expiry date specified in an item, plus any offset, is reached.
- General dates
- This action is run when either the general date one or two specified in an item, plus any offset, is reached.
- Date entered stage
- This action is run on the date the item entered the current stage, plus any offset, is reached.
Note: If you select a date type that requires a date to be set by a user, and no date has been set by a user, then the action is not run regardless of whether an offset has been selected or not. - If Selected date is selected as
the date type:
- Click to select a date.
- Click to enter a time. Only the integers "0123456789" can be used when entering times.
- If you select one of the other options, you can choose
to use a date offset that will run the email action based on a time
after the selected date type. For example, if you select the date
type of "Live date" and define an offset of one month, the email action
is run exactly one month after the item reached the live date and time.
- Click Enable Offset.
- Enter the number of months, days, hours, or minutes to offset by.
- Select either "after specified date" or "before specified date".
- If you select either "Months" or "Days" you can also specify the time of day to run the action by selecting Time to run action after offset has been reached. For example, if you select one month plus 9 am, then the action will run at 9 am, one month after the selected date type is reached.
- In some circumstances, the date that is specified in the scheduled action may have already been reached when an item enters a stage. In this case, by default the action is automatically run as soon the item reaches the current stage. You can choose to not run the action if the date has already been reached by selecting Do not run the action if date has already been reached.