# Workflow input variables

**URL:** <https://community.temporal.io/t/workflow-input-variables/17928>\
**Category:** Community Support\
**Tags:** general-impl\
**Created:** [July 15, 2025, 3:33pm UTC](https://community.temporal.io/t/workflow-input-variables/17928 "2025-07-15T15:33:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_Cico](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/mike_cico/32/5885_2.png) [@Mike\_Cico](https://community.temporal.io/u/Mike_Cico)\
**Post date:** [July 15, 2025, 3:33pm UTC](https://community.temporal.io/t/workflow-input-variables/17928/1 "2025-07-15T15:33:17Z")

</div>

Does temporal support referencing context via variables in the workflow input? i.e., if I want to reference information about the current execution in the input payload like

```auto
${workflow.RunId}
${workflow.Context.SomeContextValue}

```

I got some AI responses on this but I haven’t found anything in the documentation.

---

<div class="post-metadata">

**Author:** ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)\
**Post date:** [July 20, 2025, 1:40am UTC](https://community.temporal.io/t/workflow-input-variables/17928/2 "2025-07-20T01:40:18Z")

</div>

Not sure I understand the question. You can get workflow info like workflow and runid with workflow api in your workflow code, is that the question? Which sdk do you use?

---

<div class="post-metadata">

**Author:** ![Mike\_Cico](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/mike_cico/32/5885_2.png) [@Mike\_Cico](https://community.temporal.io/u/Mike_Cico)\
**Post date:** [July 20, 2025, 10:08pm UTC](https://community.temporal.io/t/workflow-input-variables/17928/3 "2025-07-20T22:08:38Z")

</div>

I mean, in the UI for Scheduled workflows when you definen the input payload is there a way to utilize pre-defined variables about the execution context, e.g.

```auto
{
   "myvar": "someval-${workflow.RunId}",
}

```

---

<div class="post-metadata">

**Author:** ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)\
**Post date:** [July 20, 2025, 11:21pm UTC](https://community.temporal.io/t/workflow-input-variables/17928/4 "2025-07-20T23:21:53Z")

</div>

Don’t think this is possible. What’s the use case so if we want to create feature request can describe need for it.
