Note: This page was translated using automation resources with the purpose of providing content in your language more quickly. Consequently, it may have grammatical errors and similar situations. If the content is not useful in this state, in the page footer you can access the original material in Brazilian Portuguese and also give us opinions on this translation.
Tables / Resources / Automatic Processes / Email

Email

In the processes of emails, rules can be used to build the messages, define the sender, recipients, subject and even the text.

Processes can be triggered for, for example, to report daily the birthday persons relating to age or length of work in the company for all workers in the company.

All fields of this window can be changed at running time, depending on how the rule is defined (if there is). The fields used by the email sending process in the rules are, respectively: The command line that sends the email is:

EnviaEmail( RmtEma, DstEma, CcpEma, AssEma, TxtEma, AnxEma );

A rule that has only this line, will send the email scheduled in the Emails information.

Any field can be changed. All fields are strings (Alphas).

Note

Click here to see an example rule for sending emails.

If the sender and/or the recipient are not declared, a log will be generated and the email will not be sent.

Inconsistent data can generate errors, and the email may not be sent, generating (or not) a log.

Owner System

Select the abbreviation of the Human Capital Management | HCM module that will be the owner of the task. Thus, when the task is run, it will be destined to the correct system.

Location

Specify which processes are running on a specific server without these processes are executed per the other servers that use this same database.

Note

The Location code is not mandatory for running the process.

Periodicity

In this field is displayed information referring to the periodicity of execution of this process. To change these settings, use the Periodicity button.

Only on Weekdays

It indicates if the Process must be also run on Saturdays, Sundays and holidays. (It is considered as being holidays all the days registered in the table of holidays.)

Predecessor Process

This field allows to indicate that this process will be performed only after ending the running of another process. For this, it is necessary to report the type of predecessor process (if it is a Report process, Calculation, etc.) and its code. The predecessor process is run 1 minute before the main process.

It is desired that the Process 2 only be run after running the Process 1. Then, in the registration of Process 2, the Type of predecessor 4 (Calculations) must be indicated, as well as the Code of predecessor 1. With that, the Process 2 will be run only if the Process 1 has been successfully completed.

Process may Deactivate

Report if there is an error in the running of the automatic process. If there is, report if the process must be deactivated, or if it must continue running in the next periods.

Generates Log Message

Report if the system must generate a log message if any error occur when running the automatic process.

Email of Responsible Person

Report the e-mail of the person responsible for the process, to send a log message when an error occurs in the running of automatic process.

Regional Configuration

Select which regional configuration will be valid for this automatic process. For default regional setting, the field must always be zero.

Rule code

Report the code of the rule to be run on specific date and time. To select, press the button beside. The rule must always contain the EnviaEmail function, otherwise the automatic process will not run.

Email Copy

Report the email to the recipient who must receive the copy. The filling out of this field is not mandatory.

Attached Files: Report the paths and the name of files to be attached in the email. If there is more than one file to be sent, the paths must be reported in the following format:

C:\WINDOWS\CALC.EXE;C:\AUTOEXEC.BAT

Email Text

Enter the text of the email in this field.

Note

When there is any regional configuration registered, this field will be enabled to inform with which regional configuration the automatic process will be run. The system default configuration will be considered when the field is zeroed or unavailable.

Language code

Report the code of the language in which the automatic process will be run.

(missing or bad snippet)