{"id":26325,"date":"2020-04-27T11:00:08","date_gmt":"2020-04-27T15:00:08","guid":{"rendered":"https:\/\/blogs.solidworks.com\/tech\/?p=26325"},"modified":"2020-04-08T13:41:04","modified_gmt":"2020-04-08T17:41:04","slug":"keep-the-children-in-line-with-solidworks-pdm-professional-2020","status":"publish","type":"post","link":"https:\/\/blogs.solidworks.com\/tech\/2020\/04\/keep-the-children-in-line-with-solidworks-pdm-professional-2020.html","title":{"rendered":"Keep the Children in Line with SOLIDWORKS PDM Professional 2020"},"content":{"rendered":"<p><strong>Child Reference State<\/strong><\/p>\n<p>One of my favorite new features in<a href=\"https:\/\/www.solidworks.com\/product\/solidworks-pdm\"> <strong>SOLIDWORKS PDM Professional 2020<\/strong><\/a> is the Child Reference State condition in Workflow Transitions. I can\u2019t tell you how many times as a PDM administrator I had wished for a feature like this. So, what is it and why am I so excited about its addition to the 2020 release?<\/p>\n<p>The Child Reference State condition allows you to configure a workflow transition to ensure that all referenced files meet criteria that you define. For example, let\u2019s say we do not want an assembly file to transition to the Released state unless all its subassemblies and parts are already in or are going to move to that state. This will ensure that we don\u2019t have files in different states for this design. Another use case is if we want to stop the release of any assembly that references parts or assemblies that are obsolete. In both cases, this can save you wasted effort and re-work.<\/p>\n<p>Let\u2019s walk through how to add a child reference state condition to a transition. These examples are based on the ACME vault used for the Administering SOLIDWORKS PDM training. In the workflow editor in the PDM Administration program, open the CAD Files workflow and select Release Documents transition then choose the Conditions tab. For the Variable select Child Reference State. The Comparison will have a default selection of Text Equal To which is what we want. Choose CAD Files. Released in the Value column, click OK and save the workflow.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\"><strong>Figure 1<\/strong><\/p>\n<p><u><span style=\"background-color: #bfe6ff; color: #0b0115;\"><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-26328 size-full\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture2.png\" alt=\"\" width=\"982\" height=\"565\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture2.png 982w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture2-300x173.png 300w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture2-615x354.png 615w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture2-768x442.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture2-728x419.png 728w\" sizes=\"auto, (max-width: 982px) 100vw, 982px\" \/><\/a><\/span><\/u><\/p>\n<p>Now a state change using the Release Documents transition will be blocked if any of the child referenced files are not already in, or moving to, the Released state. Note that the warning is set to blocking for new and upgraded users. Also, the system checks for this condition on only the immediate children of files selected for transition.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\"><strong>Figure 2<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-26329 aligncenter\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture3.png\" alt=\"\" width=\"1012\" height=\"649\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture3.png 1012w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture3-300x192.png 300w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture3-615x394.png 615w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture3-768x493.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture3-728x467.png 728w\" sizes=\"auto, (max-width: 1012px) 100vw, 1012px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Obsolete State<\/strong><\/p>\n<p>Next, let\u2019s ensure that a file can\u2019t be released with references in the Obsolete state. After adding an Obsolete state to our workflow, return to the Release Documents transition and add another Child Reference State condition as shown. Note that in this case the Comparison entry is Text Not Equal To.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\"><strong>Figure 3<\/strong><\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-26330 aligncenter\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture4.png\" alt=\"\" width=\"1294\" height=\"579\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture4.png 1294w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture4-300x134.png 300w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture4-615x275.png 615w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture4-768x344.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture4-728x326.png 728w\" sizes=\"auto, (max-width: 1294px) 100vw, 1294px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>This will block a state change to the Released state if any child referenced files are in the Obsolete state.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\"><strong>Figure 4<\/strong><\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-26331\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture5.png\" alt=\"\" width=\"1205\" height=\"679\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture5.png 1205w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture5-300x169.png 300w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture5-615x347.png 615w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture5-768x433.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture5-728x410.png 728w\" sizes=\"auto, (max-width: 1205px) 100vw, 1205px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>The previous examples dealt with files only in the CAD Files workflow, but what if we have attached ECO documents that should be completed as well? The Value dropdown list for the Child Reference State condition includes all the Workflows and their States in the vault. So, it is just a matter of including the State within an Or operator as shown below.<\/p>\n<p style=\"text-align: center;\"><strong>Figure 5<\/strong><\/p>\n<p><a href=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-26333\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture6.png\" alt=\"\" width=\"927\" height=\"638\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture6.png 927w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture6-300x206.png 300w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture6-615x423.png 615w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture6-768x529.png 768w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/Capture6-728x501.png 728w\" sizes=\"auto, (max-width: 927px) 100vw, 927px\" \/><\/a><\/p>\n<p>I hope you see the benefit of using this new condition type in your workflows. It will allow you to keep the children in line when working with file references in SOLIDWORKS PDM Professional. Examine your existing PDM Workflows to see how you can leverage this new feature. Ensuring that designs are fully released and do not contain obsolete parts and assemblies will save your company from costly mistakes!<\/p>\n<p>&nbsp;<\/p>\n<p><u>Mike DeKoning, Technical Solutions Consultant, TPM, Inc.<\/u><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Child Reference State One of my favorite new features in SOLIDWORKS PDM Professional 2020 is the Child Reference State condition in Workflow Transitions. I can\u2019t tell you how many times as a PDM administrator I had wished for a feature<\/p>\n... <a href=\"https:\/\/blogs.solidworks.com\/tech\/2020\/04\/keep-the-children-in-line-with-solidworks-pdm-professional-2020.html\">Continued<\/a>","protected":false},"author":224,"featured_media":26328,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21,2610],"tags":[443,2693,874,1521,1054],"class_list":["post-26325","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-solidworks","category-solidworks-2020","tag-cad","tag-child-reference-state","tag-pdm","tag-pdm-professional","tag-vault"],"acf":[],"_links":{"self":[{"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/posts\/26325","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/users\/224"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/comments?post=26325"}],"version-history":[{"count":8,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/posts\/26325\/revisions"}],"predecessor-version":[{"id":26410,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/posts\/26325\/revisions\/26410"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/media\/26328"}],"wp:attachment":[{"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/media?parent=26325"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/categories?post=26325"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/tags?post=26325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}