Workflow States

Discuss SolidWorks PDM
MMartens
Posts: 39
Joined: Wed Apr 28, 2021 10:01 am
Answers: 6
Location: Shawano, WI USA
x 6

Workflow States

Unread post by MMartens »

While investigating permission settings in my workflow, I encountered a peculiarity in my file view. When my test user account is added to a group with limited file access, the state column on certain files shows as WIP even though the file is in the Release state.
image.png
But when the test user account is added to my engineering group, the state column shows the correct state.
image.png
I was confused while making sure my limited file access users were only able to view the files they were supposed to because the file list view was saying the files were WIP when they were actually Release.
User avatar
bnemec
Posts: 1973
Joined: Tue Mar 09, 2021 9:22 am
Answers: 10
Location: Wisconsin USA
x 2584
x 1433

Re: Workflow States

Unread post by bnemec »

A couple of things come to mind. First, is it looks like you have search all versions enabled. Thankfully you have the "Found In Version" in view in your screen shot so this can be seen. Note it in the upper right corner, version 2 state = WIP and version 5 state = Released. The data card will show the values for the version that is cached locally. I would consider turning off "Search All Versions" majority of the time as it leads to all kinds of confusing search results; unless the user is fully aware that they may be seeing old versions.

I'm a bit confused on the limited permissions as it looks like it's not showing files in Released state but will show WIP; so I'm guessing it's not for a view only type user. Curious, what type of user can see WIP but not Released?
MMartens
Posts: 39
Joined: Wed Apr 28, 2021 10:01 am
Answers: 6
Location: Shawano, WI USA
x 6

Re: Workflow States

Unread post by MMartens »

The problem persists in the standard file listing even when I haven't performed a search and on top of that there isn't an actual cached version.
image.png
As for the confusion, the file shown is in the Release state. I know because when i view the file history the last transition indicates it went there. For some reason the file listing is not showing the correct state.
image.png
User avatar
bnemec
Posts: 1973
Joined: Tue Mar 09, 2021 9:22 am
Answers: 10
Location: Wisconsin USA
x 2584
x 1433

Re: Workflow States

Unread post by bnemec »

Can you explain the permissions for the group with limited access? Maybe screen shot of the State(s) permissions and Folder(s) permissions?

Also, what version of PDM are you using?
MMartens
Posts: 39
Joined: Wed Apr 28, 2021 10:01 am
Answers: 6
Location: Shawano, WI USA
x 6

Re: Workflow States

Unread post by MMartens »

Folder permissions for the folder in the screen shots though these are actually inherited from an upper level folder.
image.png
State permissions for Release.
image.png
State permissions for WIP.
image.png
Solidworks PDM 2023 SP5
User avatar
bnemec
Posts: 1973
Joined: Tue Mar 09, 2021 9:22 am
Answers: 10
Location: Wisconsin USA
x 2584
x 1433

Re: Workflow States

Unread post by bnemec »

I did a quick test (we're on 2023SP5 as well) and duplicated the behavior in your first screen shots by turning off permission to read file in Released state and granted permission to read file in WIP, and had to turn on show working versions. Both in search and vault view that user would see an old version of the file when it was in WIP, but the data card and version tabs would show that the file is in released state. My test user has read permission for only the WIP state, when I browse to a folder there are no other states shown, only WIP. Even though most of the files in that folder are in other states. Key thing to keep in mind is that state and variable values may be different in different areas of the search tool or vault view as those different areas can display data from different versions.

What doesn't line up is that your user has read permission for Release state, but not in WIP, yet it's showing opposite behavior, unless things changed between screen shots.

When there is no version cached locally the data card shows variable values for latest version.

Also, that user shouldn't be able to see "working versions" per the folder settings. IIRC, depending on your revision control settings in the workflow, any version that isn't stamped with a revision is a "working version"
User avatar
jcapriotti
Posts: 1944
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 32
Location: The south
x 1272
x 2066

Re: Workflow States

Unread post by jcapriotti »

MMartens wrote: Tue Feb 11, 2025 12:49 pm Folder permissions for the folder in the screen shots though these are actually inherited from an upper level folder.
Are you using "Increment Revision" in your workflow. If so, where all are you setting it?
Jason
Post Reply