# SFC Transition Timeout delay Expression examples

**URL:** <https://forum.inductiveautomation.com/t/sfc-transition-timeout-delay-expression-examples/89322>\
**Category:** Ignition\
**Created:** [April 23, 2024, 9:09pm UTC](https://forum.inductiveautomation.com/t/sfc-transition-timeout-delay-expression-examples/89322 "2024-04-23T21:09:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![calimero100582](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/calimero100582/32/18630_2.png) [@calimero100582](https://forum.inductiveautomation.com/u/calimero100582)\
**Post date:** [April 23, 2024, 9:09pm UTC](https://forum.inductiveautomation.com/t/sfc-transition-timeout-delay-expression-examples/89322/1 "2024-04-23T21:09:14Z")

</div>

In SFC, in a transition, as a Timeout Delay, we can specify expressions

I know that I can specify a number or basic expressions with tag, but I can't find a way to have a variable as a base path for my tag.

```python
{[default]full/path/to/tag} # Working
{chart.basePath + "/to/tag"} # Not working
tag({chart.basePath} + "/to/tag") # Not working
{{chart.basePath} + "/to/tag"} # Not allowed

```

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [April 23, 2024, 9:17pm UTC](https://forum.inductiveautomation.com/t/sfc-transition-timeout-delay-expression-examples/89322/2 "2024-04-23T21:17:39Z")

</div>

> [@calimero100582](#):
>
> ```python
> tag({chart.basePath} + "/to/tag") # Not working
> 
> ```

This would be the syntax I would expect to work. What if you evaluate `{chart.basePath} + "/to/tag"` separately (and dump it out as a string to the logs) to be sure it's what you think it is?

---

<div class="post-metadata">

**Author:** ![calimero100582](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/calimero100582/32/18630_2.png) [@calimero100582](https://forum.inductiveautomation.com/u/calimero100582)\
**Post date:** [April 24, 2024, 1:33pm UTC](https://forum.inductiveautomation.com/t/sfc-transition-timeout-delay-expression-examples/89322/3 "2024-04-24T13:33:21Z")

</div>

to avoid any confusion, mistake, typo, and so on, I just did the following, but it is still not working

```python
tag("[default]full/path/to/tag") # Not working

```

Edit: For info, I'm on Ignition 8.1.35

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [April 24, 2024, 2:21pm UTC](https://forum.inductiveautomation.com/t/sfc-transition-timeout-delay-expression-examples/89322/4 "2024-04-24T14:21:59Z")

</div>

Huh, well. That's definitely not what I would expect. I'll dig in a little more later today.

---

<div class="post-metadata">

**Author:** ![calimero100582](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/calimero100582/32/18630_2.png) [@calimero100582](https://forum.inductiveautomation.com/u/calimero100582)\
**Post date:** [January 20, 2025, 4:14pm UTC](https://forum.inductiveautomation.com/t/sfc-transition-timeout-delay-expression-examples/89322/6 "2025-01-20T16:14:24Z")

</div>

In my case, I am not interested in the cause. I already know the SFC is waiting for a machine to execute a task. If the task is not executed fast enough, SFC have some other action to execute (slow down another process).

I want to use a tag value as the timeout delay, with a calculated value based on machine setup, and recipe requirement. This way, the timeout would be optimized even if the machine setup is changed. Unfortunately, it is not possible at the moment
