Community Gallery

Post, download, and share all of your favorite tools and workflows — from Alteryx supported to user-built.
Introducing Alteryx Marketplace

Easily access verified, supported, and secure Add-Ons.

LEARN MORE
Comments
ksalo1
5 - Atom

Works very well, and simple to set up.

sammyb84
8 - Asteroid

Hey @Felipe_Ribeir0 , I downloaded and followed steps but I must be missing something.

 

Am I supposed to put file path that I want to target in all inputs in both the MC_Removefiles and Removefiles workflow where it says path and directory?

 

 
 

snippet of macro.PNG

 

MC_removefiles workflowMC_removefiles workflowRemovefiles workflowRemovefiles workflowMC_removefiles workflowMC_removefiles workflow

Felipe_Ribeir0
16 - Nebula

Hi @sammyb84 

 

You dont need to change anything inside of the macro, just provide the fullpath of the file to be deleted to the macro as input.

 

Maybe taking a look at these videos can help you to understand how it works:

Advanced Certification Learning Path - Alteryx Community

sammyb84
8 - Asteroid

Hi @Felipe_Ribeir0 ,

 

I did provide fullpath of the file to be deleted, but which workflow am I inserting it into.  I provided screenshots showing where I inserted the full path but it still not working.

hafiznaim
5 - Atom

Hi Felipe,

 

I'm trying to use the macro you provided and to delete the file only have no data.

 

My data sample are:

 
DistributorCodeItemCodeItemDescErrorMessageProcessTimestamp
A#1101324002NEXU  25KGMissing Item Code in Table Product Mapping6/27/2024 11:42
A#1101324002NEXU  25KGMissing Item Code in Table Product Mapping6/27/2024 11:42

 

DistributorCode,ItemCode,ItemDesc... are my column 

 

if data exist the flow will run to downstream(other tool, file not deleted),

if no data(having column only consider as no data), the file will be deleted:

 

I adjust the Jupyter notebook:

test2.png

//// end code


Then, at the filepaths Input)inside REMOVEDFILES. yxmd i put full path to my excel file( path....\excel.xlsx)

 

So how can i achieve this