Cancel transition if a certain file does not exist in the folder of the affected file?

Question: How to cancel a transition ? I want to cancel a transition if a certain file does not exist in the folder of the transitioned file.

I think you should check the transition at beginning
EdmCmd_PreState

1 Like

Yup. I know that but I want to do it through PDM without the API.

Have you tried doing it with dispatch? I don’t understand what you want to do but maybe it is possible to do with this

I’m not sure there’s a way without using some sort of custom add-in.

Perhaps it’s possible if you paste the required file as a reference to the one you’re trying to check in. Then setting a condition on your workflow transition to check the child file state or something might work to throw a warning.

Without knowing a bit more about the file relationship and workflow, it’s difficult to say what may work best

I can confirm that there is no built-in way in PDM Pro to do this. I ended up going with @ufukt51 solution.

That is exactly what @Gklein was suggesting the other day. I have decided to go down the route of an add-in. Thanks for the input!

1 Like