[{TableOfContents }]
!!!View Execution Logs & Details

The View Execution Run Logs (VMEX) screen is used to show the executions of reports / update processes and any execution run logs that they had produced.

The MEX ID is indicated in the top left hand corner of the screen. Also indicated, is the name of the process, the user and the date when this process was run.

Each line is information written out by the system specifically for the purpose of debugging problems. The Message and Text contain the information required for deciphering and debugging the issues. 

%%warning This function is for viewing purposes only; you may not edit the data.%%
 
This is an important screen for debugging purposes. It allows you to verify whether or not a process ran correctly. Each time a process is run, a log is generated. If an error occurred, the log can be reviewed in VMEX to obtain the reason as to why the error occurred.
 
The information written out here is often of a technical nature and may not be meaningful to the average user but is aimed at a more technical user who is trying to resolve a problem with a work flow. 

Each line of the process is indicated, therefore by simply going through each line, one can identify where an error occurred. 

Each time a process is run, an Execution ID is created (i.e. MEX ID 178309). This ID is important, so that when you go to VMEX, the correct Execution Log is being reviewed. For work flow tracing this is generated behind the scenes and you won't know it until opening VMEX. 

To view the error in its entirety, click on the line and view the information contained in the "Message" field. 

The definition data for the View Execution Run Logs screen is stored in the [P2K_AM_EXECUTIONS], [P2K_AM_EXECUTION_RUN_LOGS], [P2K_AM_PARAMETER_VALUES] and [P2K_AM_EXECUTION_AUDITS] tables.

;[MEX ID|MEX_ID]:This field provides the execution ID created when a process is run.

;[Process| ]:This field indicates the process that was run (i.e. P2k_pmwrkflw this refers to a workflow action). [CLEANUP]

;[User|USER_NAME]:The user running the process will be identified in this field.

;[Status|EXECUTION_STATUS]:This field displays the status of the execution. (e.g. pending, in process)

;[Destination Format|DESTINATION_FORMAT]:This field indicates the format of the output at the destination, for example, PDF, HTML, or TXT.

;[Destination Type|DESTINATION_TYPE]:This field identifies where the transactions will be sent, for example, [IAAL], [UFLOAD], or [IPTR].

;[Start Date|EXECUTION_START_DATE]/ [End Date|EXECUTION_END_DATE]: These fields indicate the beginning and end of the process

;[Report Mode|REPORT_MODE]:This field identifies the style of the report. 

;[Job Name|JOB_NAME]:

;[Destination|DESTINATION]:

;[Destination Name|DESTINATION_NAME]:

!!Run Logs tab

;[Log ID|P2K_AM_EXECUTION_RUN_LOGS]: The ID of the execution run log record.

;[Process|PROCESS]:

;[Context 1|CONTEXT_1]:

;[Text|TEXT]:This field provides the actual details of what the process was trying to do.

;[Timestamp|RUN_LOG_TIMESTAMP]:This field is used to display the day and time of the run log. 

;[Trace Level|TRACE_LEVEL]:This field used to indicate the level of trace (messages) that the calculation report should display when performing a trial calculation.

;[Error Level|ERROR_LEVEL ]:

;[Context 1|CONTEXT_1]/[Context 2|CONTEXT_2]:

;[Message Code|MESSAGE_CODE ]:This field provides the error in its entirety. 

;[Run Log Text|RUN_LOG_TEXT ]:This field that allows you to add notes for the run log.

!!Parameters tab

;[Parameter Name|PARAMETER_NAME ]:

;[Prompt|PROMPT]:

;[Value|VALUE]:

!!Tables Changed tab
;[Table|TABLE]:

;[DML Action|DML_ACTION]:

;[Reference|]:

;[Changed|CHANGED]:

[CLEANUP]