隱藏目錄

Working with Transition Actions

To update variables, the file in the vault must pass through a workflow transition that includes the import transition.

To create a transition action that triggers the import of values from an XML file:

  1. In the workflow transition where you want to trigger the import of values, create a transition action.
  2. Type a Description, for example, Import cost and article from XML.
  3. Select Import data from XML from Type.
  4. In Run on files with extensions, type the file types for which this action should trigger. Separate multiple file types with a semicolon, for example, sldprt;sldasm. Leave blank to trigger on all file types.
  5. In Filename of file to import from, type the name of the file containing import data. Use an asterisk (*) as a wild card, for example, SW*.xml. Do not include a path.
The transition action imports values from polled XML files that match the file name.

Deferring Transitions

You can create a transition condition that prevents a file transition until the XML import has occurred and data is available for updates.

To defer a transition:

  • In the Transition Properties dialog box, create conditions on the transition that triggers the import. Use these parameters:

    Op Condition
    Type Variable
    Variable Name For example, ArticleID or Cost
    Configuration Leave blank to include all configurations
    Argument Type !=.

For example, for a file in the vault with no values for ArticleId or Cost, the transition fails with a warning if the file starts the state transition before the import completes. After the import completes, the transition is successful and ArticleId and Cost are assigned values.


提供對此主題的意見反應

SOLIDWORKS 歡迎您提供有關於文件呈現方式、正確性、及完整性的意見反應。請使用下方的表格直接將您對此主題的意見與建議傳送給我們的文件團隊。文件團隊並無法回答關於技術支援的問題。按一下此處來獲得關於技術支援的資訊

* 必要的

 
*電子郵件:  
主旨:   說明主題的意見反應
頁面:   Working with Transition Actions
*意見:  
*   我承認已閱讀且僅此接受隱私權政策,Dassault Systèmes 將遵循此政策之規定使用我的個人資料

列印主題

選擇要列印的內容範圍:

x

偵測到您使用的瀏覽器版本是舊於 Internet Explorer 7。要獲得最佳的顯示,建議您升級瀏覽器到 Internet Explorer 7 或更新的版本。

 不要再次顯示此訊息
x

Web 式說明內容版本:SOLIDWORKS PDM 2014 SP05

要從 SOLIDWORKS 中停用 Web 式的說明並改用本機說明,請按一下說明 > 使用 SOLIDWORKS Web 式說明

要報告在 Web 式說明介面及搜尋中遇到的問題,請聯絡您當地的技術支援代表。要針對個別說明主題提供意見反應,請使用個別主題頁面中的「提供對此主題的意見反應」連結。