Dispatch Delete

Hello, I have a problem to delete a file in a folder :

In this image I want to delete red file , In my my workflow I will click on the blue file and activate my disptach to delete the red file but nothing happen when I acitvate the dispatch to delete the red file. So I show you how I set my dispatch , If some one have an idea :slight_smile:

How are your variables set up? Whenever I want to make sure I have everything working with Dispatch, I output my final filepath and/or variables to an “OK MessageBox” to verify they’re correct. Eventually, I’ll end up deleting the message box since it’s only helpful during setup.
image.png

Is there an ownership issue? Does the system have ownership? Is the file in-use by another application? (OR maybe was in-use, but the system has not let go?)

Hello , Thanks for you answer , with the message box I have seen than my variables are empty, I chosed on the variable, the value of variable of data card of the select file but the system no takes this data.
Someone knows how recover the data of data card ?

In this picture , is the set up of my message to verify my variable :

In this one, is the message and we can see than the variables are empty :

How I set up my variable :

And the last picture is my data card :

So I don’t know why the variables of data card aren’t taken , if someone knows it’s will be greatful :smiley:

(Sorry my Solidworks is in French )

For the set-up of the Designation and Revision variables, I believe you have to put something for the configuration. Try placing an “@” in the configuration text box and see if that fixes it.
image.png

Hello, it worked thanks :slight_smile: