I'd like to do as the subject line says. When a a user attempts to transition a document to WIP, I want to be sure that they are reminded to fill out the at the very least the Change Order #, before proceeding with the file to the WIP state. So possibly something that will stop the transition, of the file because of insufficient data in the card, prompting a justification dialog, instructing the user to fill out the proper info.
I was looking in to using Dispatch, my attempts to use the add-in hasn't gone so well. so looking for a bit of assistance...thx.
SolidworksSolidworks Pdm enterprise Pdm
You can just set a condition on the transition, stating that the field can't be blank.
This one ensures the "ECONumber" field is filled in or the transition won't work. Unfortunately, what the user then gets is a generic message saying "Conditions of transition not met". But if you don't have a lot of conditions set for it, it's not too hard to figure out what the problem is.
Just wish we could display custom messages for each condition not met. The users often come to me asking what is not met, especially if there several conditions checking data card fields, vault path location, and file name.
Hello Adam,
I would use an intermediate state in your workflow to allow certain variable changes:
create a variable called Order Number Old in which you put the present value during the transition
Then with your dispatch function (enable before state change to WIP intermediate), ask the user to enter a new number, and save it in your variable Order Number. compare the values Order Number Old and Order Number and set a condition according to it to allow the auto transition to WIP or return to initial state.
Regards
Sylvain
Thanks for this...i will definitely give this a shot in my application!
I'm sure there are some advantages to that approach. It is more sophisticated in that it compares old and new values. But it is not necessary to create an extra intermediate state. @Adam - If you are new to your EPDM system I would avoid adding extra states (they are difficult to remove later, and increase the complexity).
Try something like this in Dispatch. This only looks for an empty variable (or you can put in some Default value on the variable like "--" and look for that).
The one Dispatch variable created was d_ECO (which gets a value from the data card). I'll try attaching it. To test it you would just have to edit the State it triggers on, and the variable it uses. You can add more Jump (if-then) actions for more variables.
See also
Re: Controlling Documents Which Were Created Outside EPDM InsideThe Vault
Thanks Brian this has given me a lot to work from.
I've give all above solutions a shot. I found another in a thread, that would request an edit box to be filled out with an ECO# that im also attempting
I've come across something thats stumped me. When the edit box pops up. If i input the correct info, it works perfect. But if i decide to hit cancel, the edit box does not cancel, making it impossible to cancel the Edit box, no matter what. Is there a command that controls to allow the cancel button to actually work?
I'm afraid it is one of many weaknesses of Dispatch.
Re: Dispatch Edit Box Ok and Cancel