Zum Hauptinhalt springen

Description

Abortion and restarts

QuestionAnswer
Action required?yes
In case of a temporary technical error, is the job restartable?no
Should the application team be contacted before restart be triggered?yes, see contact
How often should a restart be triggered?/
Which clean-up activities need to be done before restart?Contact department
How should job parameters be changed in case of a restart?Immediate execution without any changes.
Could the job be skipped in case restarting does not solve the problem?no
Which job should be triggered if skipped job does not need to be executed?none, you can cancel it only.
What should be done if restarting the job does not help?Analysis of failure and procedure as described in the support document
Are ther additional manual tasks for Job control, e.g. Mail, deactivating of the following jobs ... ?No, the job will send an failure notification itself.
Is the job criticality 1, 2 or 3?3

Troubleshooting

Problem with validity area of calender​

Description​

Error message like U00007019 Access to calendar '<CALE_OBJECT>', keyword: '<KEYWORD>' is out of the validity area ('2023-03-01 < 2023-03-09').

solution​

Go to the calender object and search for a non-recurring entry. This could be the keyword itself or an calender event which is used in <KEYWORD>. To solve the problem edit the maintained from and maintained until fields.

Details​

PropertyValue
TypeSCRI
Subtype-
FolderPACKAGES/BEST4AUTOMIC/B4A.DEMO/SOURCE/SET-CALENDAR
Activetrue
TitleLists dates of calendar keyword
Archive Key 1-
Archive Key 2-
CreatedSystem UC4 am: 2025-08-14 18:14:00
Last ModifiedWriter best4Automic am: 2026-08-17 13:01:29 3 x
Last Used-

Custom Attributes​

No custom attributes defined.

Process​

:DEFINE &DATE_END_A#,unsigned,3
:DEFINE &DATE_CURRENT_A#,unsigned,3
:SET &DATE# = "0000-00-00"

!Fill year
:FILL &DATE_END_A#[] = STR_SPLIT(&AE_END_DATE_I#,"-")
:SET &END_DAY# = &DATE_END_A#[3]
:SET &END_MONTH# = &DATE_END_A#[2]
:SET &END_YEAR# = &DATE_END_A#[1]

! Search for dates between the entered dates
:IF VALID_CALE("YYYY-MM-DD:&AE_START_DATE_I#",&AE_CALE_I#,&AE_CALE_EVENT_I#) = "Y"
: P "&AE_START_DATE_I# is in"
:ENDIF

:SET &HND# = CREATE_PROCESS(NEW)
:SET &CHECK# = PUT_PROCESS_LINE(&HND#, "Date;Weekday;", ";")

:SET &DATE# = &AE_START_DATE_I#
:SET &DATE# = ADD_DAYS("YYYY-MM-DD:&DATE#",1,&AE_CALE_I#,&AE_CALE_EVENT_I#)
:WHILE &DATE# <> "0000-00-00"
: FILL &DATE_CURRENT_A#[] = STR_SPLIT(&DATE#,"-")
: SET &CURRENT_DAY# = &DATE_CURRENT_A#[3]
: SET &CURRENT_MONTH# = &DATE_CURRENT_A#[2]
: SET &CURRENT_YEAR# = &DATE_CURRENT_A#[1]
: CLEAR &DATE_CURRENT_A#[]
: IF &CURRENT_YEAR# <= &END_YEAR#
: IF &CURRENT_MONTH# <= &END_MONTH#
: IF &CURRENT_DAY# <= &END_DAY#
: SET &WEEKDAY# = WEEKDAY_XX("YYYY-MM-DD:&DATE#")
: SET &CHECK# = PUT_PROCESS_LINE(&HND#, "&DATE#;&WEEKDAY#", ";")
: SET &DATE# = ADD_DAYS("YYYY-MM-DD:&DATE#",1,&AE_CALE_I#,&AE_CALE_EVENT_I#)
: ELSE
: SET &DATE# = "0000-00-00"
: ENDIF
: ELSE
: SET &DATE# = "0000-00-00"
: ENDIF
: ELSE
: SET &DATE# = "0000-00-00"
: ENDIF

:ENDWHILE


:SET &AE_DATES# = SAVE_PROCESS(&HND#)
:CLOSE_PROCESS &HND#

!*****Publish values*****
:PUBLISH &AE_DATES#,AE_DATES_O#,TOP

Runtime​

ERT Method
DYNAMIC_AVERAGE
Current ERT
00 : 01 : 01 No. of past runs : 0 +ERT Correction % : 0

Sync​

No sync definitions.

Variables​

No variables defined.

Prompt Sets​

B4A.DEMO.PRPT.LIST-CALENDAR-LISTE-ENTRIES​

LabelVariableTypeDefault ValueTooltip
LABEL1#``
AE_CALE_I#``
AE_CALE_EVENT_I#``
AE_START_DATE_I#&$PHYS_DATE_DD_MM_YY_d#
AE_END_DATE_I#&$PHYS_DATE_DD_MM_YY_d#

Automatic Deactivation​

Deactivate on Finish
ALWAYS
Deactivate After
0

Runtime Parameters​

AE Priority
0
Timezone
-
Generate at runtime
true
Max. Parallel Tasks
0

Usage​

ParentTypePackageFolder
B4A.DEMO.VARA@EXEC.LIST-NEXT-DATES-DD.MM.YYYYVARAB4A.DEMOPACKAGES/BEST4AUTOMIC/B4A.DEMO/SOURCE/SET-CALENDAR
B4A.DEMO.VARA@EXEC.LIST-UNSET-DATESVARAB4A.DEMOPACKAGES/BEST4AUTOMIC/B4A.DEMO/SOURCE/SET-CALENDAR

Variable Publications​

Found 1 potentially dangerous variable publications (TOP)

ZeilennummerScriptzeile
51:PUBLISH &AE_DATES#,AE_DATES_O#,TOP