Skip to content

Commit b892034

Browse files
authored
Update API.md
1 parent 49b214c commit b892034

1 file changed

Lines changed: 39 additions & 20 deletions

File tree

docs/API.md

Lines changed: 39 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,24 @@
1111
- [Procedure SET_STEPS_TODO](#procedure-set_steps_todo)
1212
- [Procedure SET_STEPS_DONE](#procedure-set_steps_done)
1313
- [Procedure STEP_DONE](#procedure-step_done)
14-
- [Write Logs related Procedures](#write-logs-related-procedures)
14+
- [Process control](#process-control)
15+
- [SET_PROCESS_STATUS](#procedure-set_process_status)
16+
- [SET_STEPS_TODO](#procedure-set_steps_todo)
17+
- [STEP_DONE](#procedure-step_done)
18+
- [SET_STEPS_DONE](#procedure-set_steps_todo)
19+
- [GET_PROC_STEPS_DONE](fFunction-get_proc_steps_done)
20+
- [GET_PROC_STEPS_TODO](fFunction-get_proc_steps_done)
21+
- [GET_PROCESS_START](#function-get_process_start)
22+
- [GET_PROCESS_END](#function-get_process_end)
23+
- [GET_PROCESS_STATUS](#function-get_process_status)
24+
- [GET_PROCESS_INFO](#function-get_process_info)
25+
- [GET_PROCESS_DATA](#function-get_process_data)
26+
- [Logging](#logging)
27+
- [ERROR](#procedure-error)
28+
- [WARN](#procedure-warn)
29+
- [INFO](#procedure-error)
30+
- [DEBUG](#procedure-debug)
31+
1532
- [General Logging Procedures](#general-logging-procedures)
1633
- [Procedure LOG_DETAIL](#procedure-log_detail)
1734
- [Appendix](#appendix)
@@ -394,25 +411,6 @@ Reads the INFO-Text which is part of the process record. Likewise flexible and c
394411
* Type: t_process_rec
395412
* Description: Record type containing all essential process metrics.
396413

397-
398-
#### Record Type `t_process_rec`
399-
Usefull for getting a complete set of all process data. Using this record avoids multiple individual API calls.
400-
401-
```sql
402-
TYPE t_process_rec IS RECORD (
403-
id NUMBER(19,0),
404-
process_name VARCHAR2(100),
405-
log_level PLS_INTEGER,
406-
process_start TIMESTAMP,
407-
process_end TIMESTAMP,
408-
process_last_update TIMESTAMP,
409-
proc_steps_todo PLS_INTEGER,
410-
proc_steps_done PLS_INTEGER,
411-
status PLS_INTEGER,
412-
info VARCHAR2(4000),
413-
tab_name_master VARCHAR2(100)
414-
);
415-
```
416414
---
417415
### Logging
418416
Likely the most intuitive methods for a developer...
@@ -618,10 +616,31 @@ logLevelDebug constant number := 8;
618616
```
619617

620618
### Record Type for init
619+
```sql
621620
TYPE t_session_init IS RECORD (
622621
processName VARCHAR2(100),
623622
logLevel PLS_INTEGER,
624623
stepsToDo PLS_INTEGER,
625624
daysToKeep PLS_INTEGER,
626625
tabNameMaster VARCHAR2(100) DEFAULT 'LILA_LOG'
627626
);
627+
```
628+
629+
#### Record Type `t_process_rec`
630+
Usefull for getting a complete set of all process data. Using this record avoids multiple individual API calls.
631+
632+
```sql
633+
TYPE t_process_rec IS RECORD (
634+
id NUMBER(19,0),
635+
process_name VARCHAR2(100),
636+
log_level PLS_INTEGER,
637+
process_start TIMESTAMP,
638+
process_end TIMESTAMP,
639+
process_last_update TIMESTAMP,
640+
proc_steps_todo PLS_INTEGER,
641+
proc_steps_done PLS_INTEGER,
642+
status PLS_INTEGER,
643+
info VARCHAR2(4000),
644+
tab_name_master VARCHAR2(100)
645+
);
646+
```

0 commit comments

Comments
 (0)