Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Take string off of the name of workflow.

hlee36
8 - Asteroid

How can I take a string off of the name of workflow?

 

I am building something that I roll over each month, let's say.

 

For example, I have this workflow named "Workflow 2023.1"

 

I need to utilize the string 2023.1 in the workflow so it's more dynamic so that I don't have to change the workflow for each month.

 

I do this in Excel with formulas like

 

=MID(CELL("filename"),SEARCH("[",CELL("filename"))+1, SEARCH("]",CELL("filename"))-SEARCH("[",CELL("filename"))-1)

 

Is there a way to do this in Alteryx?

2 REPLIES 2
PhilipMannering
16 - Nebula
16 - Nebula

Something like this?

Screenshot 2023-08-02 183841.png
Felipe_Ribeir0
16 - Nebula

Hi @hlee36 

 

You can get the workflow name using [Engine.WorkflowFileName] inside of a formula tool. After that, you can use string formulas/regex to parse whatever you need.

 

sample1.png

Labels