first_name/last_name Usage
Description
In an effort to remove the usage of field_first_name
and field_last_name
from the workflow area of the site, some sub-areas need to be reviewed.
User Account Management Emails
https://developer-ucsb-edu-v05.lndo.site:444/admin/config/people/accounts
problem Couldn’t replace the tokens because Body is using the following invalid tokens: [user:first_name], [user:last_name]
Welcome (awaiting approval)
replaced: [user:field_first_name] [user:field_last_name]
Account activation
replaced: [user:field_first_name] [user:field_last_name]
Digging into this, I found that
apigee_edge
module may have created thefirst_name
andlast_name
fields?choosen path: I altered
modules/contrib/apigee_edge/src/UserDeveloperConverterInterface.php
to change the hard coded names offirst_name
=>field_first_name
andlast_name
=>field_last_name
.
Workflow History
<not used> - Uses email address (not first_name/last_name)
Workflow Conditionals & Emails
api_assigned_to_admin
data_comparison_api_assigned_to_admin
send_email_api_assigned_to_admin
<first_name/last_name not used>
api_assigned_to_business_user
data_comparison_api_assigned_to_business_user
not_data_comparison_api_assigned_to_business_user
send_email_api_assigned_to_business_user
<first_name/last_name not used>
api_assigned_to_gateway_admin_for_approval
data_comparison_api_assigned_to_gateway_admin_for_approval
not_data_comparison_api_assigned_to_gateway_admin_for_approval
send_email_api_assigned_to_gateway_admin_for_approval
<first_name/last_name not used>
api_publishing_request_changed
data_comparison_api_publishing_request_changed
send_email_api_publishing_request_changed
send_email_api_publishing_request_changed
<first_name/last_name not used>
role_api_publishing_request_changed
replaced with send_email_api_publishing_request_changed_api_administrator
send_email_to_user_role_api_publishing_request_changed
<first_name/last_name not used>
api_state_change_all
data_comparison_api_state_change_all
send_email_api_state_change_all
<not used>
send_email_api_administrator_roles_api_state_change_all
replaced with send_email_api_state_change_all_api_administrator
send_mail_to_all_users_of_a_role_api_state_change_all
<first_name/last_name not used>
api_state_change_business_user
data_comparison_api_state_change_business_user_admin_denied
not_data_comparison_api_state_change_business_user_admin_denied
send_email_api_state_change_business_user
<first_name/last_name not used>
data_comparison_api_state_change_business_user_cancelled
not_data_comparison_api_state_change_business_user_cancelled
send_email_api_state_change_business_user
<first_name/last_name not used>
data_comparison_api_state_change_business_user_retired
not_data_comparison_api_state_change_business_user_retired
send_email_api_state_change_business_user
<first_name/last_name not used>
data_comparison_api_state_change_business_user_published
not_data_comparison_api_state_change_business_user_published
send_email_api_state_change_business_user
<first_name/last_name not used>
api_submitted
send_email_api_submitted
<first_name/last_name not used>
send_mail_to_all_users_of_a_role_api_submitted
replaced with send_email_app_approval_request_submitted_api_administrator
send_mail_to_all_users_of_a_role_api_submitted_api_administrator
<first_name/last_name not used>
app_approval_request_access_granted
data_comparison_app_approval_request_access_granted
not_data_comparison_app_approval_request_access_granted
send_mail_app_approval_request_access_granted_technical
<first_name/last_name not used>
send_mail_app_approval_request_access_granted_business
<first_name/last_name not used>
send_email_to_user_role_app_approval_request_access_granted
replaced with send_email_app_approval_request_access_granted_api_administrator
send_email_to_user_role_app_approval_request_access_granted_api_
<first_name/last_name not used>
app_approval_request_assigned_to_business_approver
data_comparison_app_approval_request_assigned_to_business_approv
not_data_comparison_app_approval_request_assigned_to_business_ap
send_mail_app_approval_request_assigned_to_business_approver
<first_name/last_name not used>
app_approval_request_business_approved
data_comparison_app_approval_request_business_approved
not_data_comparison_app_approval_request_business_approved
send_email_app_approval_request_business_approved
<first_name/last_name not used>
app_approval_request_business_denied
data_comparison_app_approval_request_business_denied
not_data_comparison_app_approval_request_business_denied
send_email_app_approval_request_business_denied_business
<first_name/last_name not used>
send_email_app_approval_request_business_denied
<first_name/last_name not used>
send_email_to_user_role_app_approval_request_business_denied
replaced with send_email_app_approval_request_business_denied_api_administrat2
send_email_app_approval_request_business_denied_api_administrato
<first_name/last_name not used>
app_approval_request_changed
data_comparison_app_approval_request_changed
send_email_app_approval_request_changed
<first_name/last_name not used>
role_app_approval_request_changed
replaced with send_email_app_approval_request_changed_api_administrator
send_email_to_user_role_app_approval_request_changed
<first_name/last_name not used>
app_approval_request_submitted
send_email_app_approval_request_submitted
<first_name/last_name not used>
send_email_api_administrator_roles
replaced with send_email_app_approval_request_submitted_api_administrator
send_mail_to_all_users_of_a_role_app_approval_request_submitted
<first_name/last_name not used>