Incluir Página | ||||
---|---|---|---|---|
|
You can also track processes through the Workflow. That means you are able to know, for example, where to find the purchase order sent for approval, even if you had no response yet.
First, you must register:
An ID code is generated for each process started in Workflow.
Example:
For the approval of Order number 1020, the ID 03001 is generated. This ID is unique and identifies the process.
In this example, the ID is saved in file SC7 - Purchase Orders, in the field created by the system administrator. This ID must be saved by an Entry Point.
How to know the ID number?
The object oProcess contains a property called fProcessID, whose content is the ID of the process started.
Besides saving the ID in file SC7, the trackability must be saved through function RastreiaWF (Process ID, Process Code, Status Code, Description, User), which create the Trackability Log. Therefore, place this function in the parts of the Entry Point you want to track.
In the Trackability query, you must enter the Process ID. This query displays all events with date and time of execution, as well as the time interval between one status and another.
Procedures
Querying the workflow trackability:
1. When Trackability query option is accessed, a window is displayed for you to select a trackability process.
2. Select a table and a process ID.
3. If you do not know the ID, use the field Standard Query to locate the routine to be tracked; this routine will return the process number.
Example:
SC7 - Purchase Order
4. Select the type of Status to be viewed:
Only system internal statuses are displayed (available only to the Administrator).
Examples:
000001 - Process Started
000004 - Task in Execution
000006 - Process Startup
000007 - Request of Executed E-mail
000099 - Process Finished
Only statuses created by the user in routine Status Workflow are displayed.
5. Confirm it.
A screen displays Trackability result in folders Processes and Occurrence History.
6. You can also view Trackability in charts, through Integration with Visio®.
See Also
...