Hide Table of Contents

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.


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   Working with Transition Actions
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: SOLIDWORKS PDM 2014 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.