# Executing actions to change attribute values

**URL:** <https://forum.sensmetry.com/t/executing-actions-to-change-attribute-values/243>\
**Category:** How-to Guides\
**Tags:** automator, sysmlv2\
**Created:** [October 6, 2025, 2:03pm UTC](https://forum.sensmetry.com/t/executing-actions-to-change-attribute-values/243 "2025-10-06T14:03:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Axel](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Axel](https://forum.sensmetry.com/u/Axel)\
**Post date:** [October 6, 2025, 2:03pm UTC](https://forum.sensmetry.com/t/executing-actions-to-change-attribute-values/243/1 "2025-10-06T14:03:50Z")

</div>

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

For example, to execute a state entry action:

```auto
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:

```auto
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?

---

<div class="post-metadata">

**Author:** ![Daumantas](https://yyz2.discourse-cdn.com/flex008/user_avatar/forum.sensmetry.com/daumantas/32/19_2.png) [@Daumantas](https://forum.sensmetry.com/u/Daumantas)\
**Post date:** [October 6, 2025, 2:18pm UTC](https://forum.sensmetry.com/t/executing-actions-to-change-attribute-values/243/2 "2025-10-06T14:18:27Z")

</div>

Hi @Axel,

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