<< Click to Display Table of Contents >> Navigation: Library > Engineering Change Management > MCO Editor > Email Notifications |
Event-based email notifications can be sent by Assembly Planner from the MCO module.
MCO Email Template Keywords and Rules
The following are the types of email templates that are used during various events performed on an MCO. These are text files (using the same name) which are loaded into the Template Manager > Configuration Files section of assembly Planner.
•CreatorMCOEmail
•CreatorMCOEmail_ECO
•CreatorMCOEmail_Deviation
•AssignMCOEmail
•AssignMCOEmail_ECO
•AssignMCOEmail_Deviation
•ReassignMCOEmail
•ReassignMCOEmail_ECO
•ReassignMCOEmail_Deviation
•CancelMCOEmail
•CancelMCOEmail_ECO
•CancelMCOEmail_Deviation
•ManagerMCOEmail
•ManagerMCOEmail_ECO
•ManagerMCOEmail_Deviation
Rules
1.If the database preference “SendEmailNotificationsToCurrentSoftwareUser “is set to false (default), any email notification that pertains to the current logged in user will not be sent out.
2.For manager emails, manager roles (currently requires the word “Manager” in the role name) need to be mapped to the lifecycle stages (MCOLifeCycleStageRoleMapping table). On beginning of a lifecycle stage, any user who has the role that is mapped to the current lifecycle stage will get this email notification.
3.In any type of MCO email notifications, the body of the email will always be blank.
4.All the fields/Keywords mentioned are care sensitive and should be exactly used in the template. In any case where the field name does exist or does match, it will be substituted with the value [FIELDVALUENOTFOUND] in the actual email text.
Available Keywords
•MCO./ECO./Deviation.
oID
oDescription
oCreatedon
oProjectnumber
oAssignedto
oAll custom field columns that is applicable to these entities can be accessed this way too.
•MCO. (Available standard fields)
oECOID
oDeviationID
oParentMCOID
oReleasedOn
oModifiedOn
oCreatedBy
oModifiedBy
oReason
oPriority
oDueDate
oDefaultFromEffectivityDate
oStatus
•ECO. (Available standard fields)
oErrorDescription
oOriginationDate
oStatus
•Deviation. (Available standard fields)
oDeviationType
oSource
oCreatedBy
oModifiedBy
oModifiedOn
oReleaseDate
oOriginationDate
oEffectiveFromDate
oEffectiveToDate
oDeviationStatus
•CURRENTUSER – Current logged in user full name
•LIFECYCLESTAGE – Current lifecycle stage’s description
•PLANTID – Current environment plant ID
•PLANTDESCRIPTION – Current env plant description
•DEVIATIONITEMS – Will display the deviation items in the format "ID:Description:Quantity;" for as many items there is, each in a new line.
•CUSTOMTEXT – Currently does not have any implementation and will just put an empty space if used.
Template Formats
CreatorMCOEmail
On creation of a new MCO.
Email Format:
SUBJECT: MCO [@MCO.ID] has been completed.
CreatorMCOEmail_ECO
On creation of a new MCO by processing an ECO.
Email Format:
SUBJECT: MCO [@MCO.ID] for ECO [@ECO.ID] has been completed
CreatorMCOEmail_Deviation
On creation of a new MCO by processing a Deviation.
Email Format:
SUBJECT: MCO [@MCO.ID] for Deviation [@Deviation.ID] has been completed
AssignMCOEmail
On assigning an MCO to a user.
Email Format:
SUBJECT: MCO [@MCO.ID] for lifecycle stage [@LIFECYCLESTAGE] has been assigned to you.
AssignMCOEmail_ECO
On assigning an MCO that was created by processing an ECO.
Email Format:
SUBJECT: MCO [@MCO.ID] for ECO [@ECO.ID] at lifecycle stage [@LIFECYCLESTAGE] has been assigned to you.
AssignMCOEmail_Deviation
On assigning an MCO that was created by processing an ECO.
Email Format:
SUBJECT: MCO [@MCO.ID] for Deviation [@Deviation.ID] at lifecycle stage [@LIFECYCLESTAGE] has been assigned to you.
ReassignMCOEmail
On re-assigning an MCO.
Email Format:
SUBJECT: MCO [@MCO.ID] for lifecycle stage [@LIFECYCLESTAGE] has been assigned to you.
ReassignMCOEmail_ECO
On re-assigning an MCO that was created by processing an ECO.
Email Format:
SUBJECT: MCO [@MCO.ID] for ECO [@ECO.ID] at lifecycle stage [@LIFECYCLESTAGE] has been assigned to you.
ReassignMCOEmail_Deviation
On re-assigning an MCO that was created by processing a Deviation.
Email Format:
SUBJECT: MCO [@MCO.ID] for Deviation [@Deviation.ID] at lifecycle stage [@LIFECYCLESTAGE] has been assigned to you.
CancelMCOEmail
On cancelling an MCO.
Email Format:
SUBJECT: MCO [@MCO.ID] has been cancelled.
CancelMCOEmail_ECO
On cancelling an MCO that was created by processing an ECO.
Email Format:
SUBJECT: MCO [@MCO.ID] for ECO [@ECO.ID] has been cancelled.
CancelMCOEmail_Deviation
On cancelling an MCO that was created by processing a Deviation.
Email Format:
SUBJECT: MCO [@MCO.ID] for Deviation [@Deviation.ID] has been cancelled.
ManagerMCOEmail
On beginning of any lifecycle stage within an MCO Workflow (if implemented). Manager roles need to be mapped to the lifecycle stages (MCOLifeCycleStageRoleMapping table). Any user with the role that is mapped to the current lifecycle stage will get this email notification.
Email Format:
SUBJECT: MCO [@MCO.ID] has entered the [@LIFECYCLESTAGE] lifecycle stage queue.
ManagerMCOEmail_ECO
On beginning of any lifecycle stage of an MCO Workflow where the MCO was created by processing an ECO.
Email Format:
SUBJECT: MCO [@MCO.ID] for ECO [@ECO.ID] has entered the [@LIFECYCLESTAGE] lifecycle stage queue.
ManagerMCOEmail_Deviation
On beginning of any lifecycle stage of an MCO Workflow where the MCO was created by processing a Deviation.
Email Format:
SUBJECT: MCO [@MCO.ID] for Deviation [@Deviation.ID] has entered the [@LIFECYCLESTAGE] lifecycle stage queue.