Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Problème de Output (Alteryx vers Excel)

Bourgi
7 - Meteor

Bonjour,

 

J'ai un problème dans un workflow. En effet, je voudrais le partager à un collègue mais chez lui ça fait des erreurs alors que c'est moi tout est ok.

 

* Impossible d'effectuer l'ecriture finale 

* Erreur en cours d'utilisation par un autre processus 

 

Capture d’écran 2021-08-26 164030_LI (2).jpg

Capture d’écran 2021-08-26 164059_LI.jpg

 

 

 

 

Merci d'avance!

6 REPLIES 6
messi007
15 - Aurora
15 - Aurora

@Bourgi,

 

1- Il faut vérifier si le fchier est ouvert par une autre personne ou une autre application

2- Vérifier si le chemin du fichier est correcte (Est ce que votre collègue peut accèder au fichier en dehors d'Alteryx) 

 

Cordialement,

 

 

ChrisTX
15 - Aurora

Try adding a Block Until Done tool before each Output tool.  Excel does not shut down quickly, so you run into file-lock (write contention) issues.

 

We also had to add in CReW macros for Wait a Sec to avoid errors with Excel.

 

The Block Until Done tool is not the most user-friendly.  Read the example inside Alteryx and the Tool Mastery article:  https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Tool-Mastery-Block-Until-Done/ta-p/...

 

Block Until Done uses Tool Id in the logic, which can make it difficult to get the order sequence you want.

 

Chris

Bourgi
7 - Meteor

Bonjour,

J'ai déjà vérifié ces deux points mais toujours les mêmes erreurs. 

Bourgi
7 - Meteor

Thank your for sharing but I have integrated this tool into my model. 

ChrisTX
15 - Aurora

This is how I export to multiple sheets in one Excel file: 

 

ChrisTX_0-1629996611925.png

 

The macro with the clock icon is the CReW macro for Wait a Sec.

 

We use the attached macro to write to multiple Excel sheets, because the macro has an Output anchor which allows us to feed it into the Wait a Sec macro.

 

Chris

 

Bourgi
7 - Meteor

Thank you Chris, 

So Curently I use the block until done in different output and it's ok 

Labels