SystemStartlevelTrigger not firing

Hello,

I have a simple rule for determine which js version I am running in my system

rules.JSRule({
        name: "init openhab",
        description: "init openhab",
        triggers: [triggers.SystemStartlevelTrigger(100)],
        execute: (event) => {
                try {
                        console.info('openhab-js version: ' + utils.OPENHAB_JS_VERSION);
                } catch (error) {
                        console.error("Error", "Some bad stuff happened in \"init openhab\": " + error)
                }        
        },
        tags: ["init openhab"],
        id: "init openhab"
});

I also have a DSL rule which fired until OH4.2 M2

rule "Set switch_systeminit"
when
    System reached start level 100
then
        try{
                switch_systeminit.postUpdate(ON)

        logInfo("Set switch_systeminit", switch_systeminit.state.toString())
    }
    catch(Throwable T)
    {
      logError("Error", "Some bad stuff happened in \"Set switch_systeminit\": " + T.toString)
    }
    finally
    {

    }
end

But both rule get never fired.

Does your system reach run level 100? You can enable system runlevel logging by changing the openhab.event.StartlevelEvent logger to INFO and you’ll see the runlevel events logged to the events.log.

I only reach Startlevel 70

I have some things that UNINITIALIZED but this is not even a thing, taht means I never can reach start level 100

tlpicker:tlp:home (Type=Thing, Status=UNINITIALIZED (HANDLER_MISSING_ERROR): Handler factory not found, Label=TimelinePicker, Bridge=null)

see here

For JS, you could just have this single line in the entire file:

console.info('openhab-js version: ' + utils.OPENHAB_JS_VERSION);

You don’t need to create a trigger / rule etc. It will just run whenever that file is loaded / modified.