My first recommendation is to avoid using Dispatch this way. Consider converting those variables into version free variables. However this approach may cause issues if the variables that need updating are mapped to SW properties because version free variables can't be mapped to SW properties.
My second recommendation is to use an EPDM add-in to run the transition and variable update. This add-in would check to ensure all referenced files are checked in and in the correct state before allowing the top level assembly to transition through your ECN transition.
I may have missed your point and I'm sure there are easier ways to accomplish this but this is how I've handled it in the past.
Thanks for the feedback; this jives with the info I've been able uncover thus far - no easy fix in place to just knock out the issue. And I was prepared to look silly because there was a really obvious answer!
I hadn't considered version free variables, but unfortunately in this case, the variables do need to be mapped to SolidWorks properties. An add-in might work, though - I will certainly look into that. Thanks again!
I've had the same problem. The problem is that EPDM always tries to check in all of the referenced files when a file is checked in. When working with structures with many levels, this is not desirable. There should be an option in the administration tool like 'Try to check in all referenced files when the referencing file is checked in.' Just like there is for 'check out' and 'change state'.
So, I've submitted an enhancement request to make automatic check in of referenced files optional. Solidworks attached my ER to existing SPR 579788 'EPDM Check-in options.' To speed this up, you can call your VAR and have your company attached to this SPR.