Executing actions to change attribute values

Is Automator is able to execute actions to change values of attributes?

For example, to execute a state entry action:

part system {
    attribute someValue default 0;
}

state mode {
    state firstState {
        entry assign system.someValue := 5;
    }
    state secondState {
        entry assign system.someValue := 10;
    }
}

I’m not interested in simulating a full state machine, essentially the goal is to use Automator to do a check of what the value of some attributes will be for each state. If doing it through states is too complicated, a regular action would work as well:

part system {
    attribute someValue default 0;
}

action updateValue {
    assign system.someValue := 10;
}

I know how to evaluate the attribute system.someValue using Compiler().evaluate(), but can’t tell whether or not actions are supported by Automator. Does anyone know how this works?

Hi @Axel,

Unfortunately execution of actions and state machines is not yet supported, and I cannot give an ETA when it may be.