Free Trial

Alteryx Designer Desktop Discussions

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

Auto-revert tool configuration after workflow run

DavidKennedy
7 - Meteor

Is there a way to have a Formula tool to revert to a previous configuration after the workflow is run in Designer?  

 

In the workflow below, I'm using the "Ready Status" formula tool as a second layer of protection to prevent someone from inadvertently overwriting an archived workflow.  My idea is that the user will have to manually enter the year for which they want to archive data (yellow comment box) and they would have to change the text in the "Ready Status" formula tool to "Ready".  What I don't want to happen is for the second layer of protection to be rendered useless in the event the user saves the workflow after making the changes.

 

If the text in the "Ready Status" formula could just revert back to "No" after each run, that would cause the user to have to manually change the text each time, which is what I want.

 

ArchiveWorkflow.png  

2 REPLIES 2
Raj
16 - Nebula

@DavidKennedy 
you can creat an app and you can add a check box
if it is checked then "yes" else "NO"

this will solve the requirement.

danilang
19 - Altair
19 - Altair

Hi @DavidKennedy 

 

There's very little that you can do to stop a user from modifying the year and then saving the workflow.  Loading and saving the workflow is completely independent from running it. 

 

One thing you can do is add a Date interface tool to allow the user to input the required date without modifying the underlying workflow.  Adding the interface tool converts the workflow into an analytic app.  When the user double clicks on it, the date interface will pop up and the workflow will run with the enter date, without modifying the workflow file. 

 

If you really want to secure it, you can Lock the app.  This makes it unable to be opened in designer at all and the app interface will be the only way the user can interact with it.  This is a one-way process, so make sure you save a copy of the workflow before encrypting it  

 

Dan

Labels
Top Solution Authors