I know you can set a condition for a transition that is based on a variable, but is there any way to stipulate that a file can be checked out when it's in a particular state only if a user is a member of a group, or if the file has a certain variable value?
I'm looking for a way to allow members of group A to check out only some files in a state, but not others. I don't see any way through normal configurations... Dispatch maybe?
SolidworksSolidworks Pdm enterprise Pdm
OK, so Dispatch doesn't seem to be an option... there are no commands that can access a user's group memberships.
Yes, under groups in "State Permissions". Choose the state you want to define, then you can choose if they can Check Out or not
Is this what you're asking about?
Unfortunately, this doesn't help, as it still applies to all files in that state. What I need is a way to allow members of Group A to check out only CAD files, and Group B to check out only Excel files even though the files are all in the same state.
In other words, I want to have checkout rights in a particular state depend on a condition (variable, etc), not just group membership. Transitions have this capability, but not states.
I hope that's clear?
Brian,
You'd have to get creative, like make 2 states with similar names and use the same transition name to get to both but set the condition on the transition to determine which one to go to. If you need it to be the same state name you can use workflow transitions to create the same state name in 2 workflows with the proper group membership in both, but that's basically all you can do.
Yeah, I've looked at that. The problem is that our process currently consists of a suite of four separate workflows through which each document flows, one workflow after another. To do what you suggest, I'd have to create a copy of each of those workflows (many, many states and transitions) and assign one to Group A and their documents and assign the other to Group B and their documents. That would be a massive kluge that I don't have time for...
I'm trying to avoid using an add-in, but it may come to that...
Agree with Charley. Seperate workflow is how we handle that. Categories is the vehicle we use to automate which filetypes go to which workflow
Brian,
If you can't go the separate workflow route then I think the only option is, as you feared, an addin. It is a bit tricky as well because you have to "kill" the check out, determine which files the user should be able to check out, add them to a batch check out, set a flag to tell the system that it is now OK to do the check out and run the batch.