Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Python Tool- Files not writing based on the Boolean formula

stevelogue1980
8 - Asteroid

Hi Alteryxians,

I've an Alteryx workflow, picks up text files and appends database fields with Transformations and generates a PDF report.

However, my requirement is to funnel the rows within that are not processed, and add them in the 'ErrorPath' Folder, as shown

stevelogue1980_0-1666733319206.png

 

But,all the rows from Input file are inputting in 'ArchivePath' Folder, instead those rows only met the Boolean condition.

Likewise, in 'ErrorPath' Folder.

Appreciated if anyone update the attached workflow!😥

 

 

2 REPLIES 2
Felipe_Ribeir0
16 - Nebula

Hi @stevelogue1980 

 

The original macro to move files between two paths came from here: Move files between origin and destination path - Alteryx Community

 

1)The macro comes with an example of a txt file, you are able to execute it with the example? 

           a)If yes, see if you are passing the right parameters with your workflow to the macro (full path of each origin and destiny for each file), and you have permission to move these files

 

Felipe_Ribeir0_0-1666761310792.png

 

                b)If not, please put a print of the error that you are getting here

 

stevelogue1980
8 - Asteroid

This Macro not even moving files based on condition. Please find it here

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Cant-Move-files-between-origin-and-des...

Labels