# Can we convert field to variable in single workflow?

**URL:** https://community.automationedge.com/t/can-we-convert-field-to-variable-in-single-workflow/3310
**Category:** Process Studio
**Tags:** rpa, article
**Created:** [May 8, 2021, 4:13pm UTC](https://community.automationedge.com/t/can-we-convert-field-to-variable-in-single-workflow/3310 "2021-05-08T16:13:11Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Shubhamautomation](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.automationedge.com/shubhamautomation/32/604_2.png) [@Shubhamautomation](https://community.automationedge.com/u/Shubhamautomation)
#### Post date: [May 8, 2021, 4:13pm UTC](https://community.automationedge.com/t/can-we-convert-field-to-variable-in-single-workflow/3310/1 "2021-05-08T16:13:11Z")

</div>

I am getting the path of the file in feild and want tk read this file  
I can’t use this feild in input step file path as it requires variable$.  
I want to do this into single workflow. How it can be done

---

<div class="post-metadata">

### Author: ![hemanshu.rukadikar](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.automationedge.com/hemanshu.rukadikar/32/606_2.png) [@hemanshu.rukadikar](https://community.automationedge.com/u/hemanshu.rukadikar)
#### Post date: [May 11, 2021, 9:31am UTC](https://community.automationedge.com/t/can-we-convert-field-to-variable-in-single-workflow/3310/2 "2021-05-11T09:31:45Z")

</div>

Hi @Shubhamautomation,

Which input step are you exactly using? I am asking these because for multiple steps, you can use field names directly.

---

<div class="post-metadata">

### Author: ![Shubhamautomation](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.automationedge.com/shubhamautomation/32/604_2.png) [@Shubhamautomation](https://community.automationedge.com/u/Shubhamautomation)
#### Post date: [May 11, 2021, 2:36pm UTC](https://community.automationedge.com/t/can-we-convert-field-to-variable-in-single-workflow/3310/3 "2021-05-11T14:36:21Z")

</div>

I was downloading the attachment from mail. Email message input step was creating Mail folder like  
mail10280, mail10390 etc. And inside this folder downloaded file exists.  
That i wanted to read .  
email input step gives the attachment folder path as field. and In input step(Text file input)  
to use this path we normally use variable$ name But to keep the value in variable we need to use another workflow(pass path as Runtime paramtere and use that direclty in file input step).  
But  
I wanted to in single workflow.  
Now I got know the about cool feature in input step.  
In which we can use field(froom previous step) in filepath to read file( see snapshot)

 ![reading file from previous step](https://canada1.discourse-cdn.com/flex027/uploads/automationedge/original/1X/35211c7f8c3daa006ee6a458b27bfdb30eafd5bf.png)

.

---

<div class="post-metadata">

### Author: ![hemanshu.rukadikar](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.automationedge.com/hemanshu.rukadikar/32/606_2.png) [@hemanshu.rukadikar](https://community.automationedge.com/u/hemanshu.rukadikar)
#### Post date: [May 12, 2021, 5:49am UTC](https://community.automationedge.com/t/can-we-convert-field-to-variable-in-single-workflow/3310/4 "2021-05-12T05:49:20Z")

</div>

Good to know you could solve it! Kudos!
