隱藏目錄

Transition Action Dialog Box

Use the Transition Action dialog box to define the actions that are triggered by a transition.

To display the dialog box:

Click a transition in the workflow editor. In the Properties dialog box, on the Actions tab, click Add Action, or click an action and then click Edit Action.

Description

Type a description.

For Send Mail actions, the description is used as the subject line for the message. To include system variables, click and select a variable (Transition Action Variables). For example: File %filename% is ready for approval

Type
Select an action type:

Type-specific options appear at the bottom of the dialog box based on your selection.

Run for items

Apply this action to items. See Items.

Run for named bills of materials

(Not available when Type is Set Variable.) Apply this action to named BOMs.

Run for files

Apply this action to files. When selected, you can limit the action to certain file types using Only run for files with these extensions.

Only run for files with these extensions

(Only available when Run for files is selected.) Limit the action to certain file types. Type one or more file extensions, separated by semicolons (;).

Execute Command

These options are available when Type is Execute command.

Enter command to execute

Specifies the full path to the executable (as seen from the client computer performing the transition), or the name of the executable if it is already registered in Windows (such as Notepad or WordPad). Specify the path as if launching the executable from the command line or Start > Run . Include any parameters required by the executable.

Click to pass any of the following to the executables as parameters:
  • Filename - Represents the file name of the file passing the transition, for example, part.sldprt.
  • File Path - Represents the full path to the file passing the transition, for example, c:\vault\proj1\part.sldprt.
  • Folderpath - Represents the path to the folder of the file passing the transition. For example, c:\vault\proj1.
  • Environment Variable - Includes an environment variable, such as USERNAME.
For example, to let the user edit a transitioning file using Notepad, specify:
notepad.exe File Path
Wait until the started program terminates

Suspends Enterprise PDM activity (for example, no other transition actions are run) until the program completes.

Execute Task

This option is available when Type is Execute task.

Select task to execute Initiates the execution of the selected task. See Tasks Overview.

Export Data to XML

The following option is available when Type is Export data to XML.

Select export script to use

Exports data from SolidWorks in XML format (for example, for use by an ERP system). Select an export script. See Export Rule Dialog Box.

Import Data from XML

The following option is available when Type is Import data from XML.

Filename of file to import from (use *as wildcard)

Imports XML data (for example, from an ERP application). See Import Rule Dialog Box. Type the name of the XML file to import. You can use the * wildcard. To include system variables, click and select a variable.

Inc. Revision

There are no additional options when Type is Inc. Revision.
Enterprise PDM does not write the revision number to a data file data card variable as part of the Inc. Revision action. Create a separate Set Variable action if needed.

Send Mail

These options are available when Type is Send Mail.

To

Lists the user or group to receive the message.

Message
Shows the message body. To include system variables, click and select a variable. For example:
  Brian,
  %projectpath%%filename% is ready to be approved. Thanks. 
  %user%
Variables are replaced by their values at the time the message is generated.

Set Variable

These options are available when Type is Set Variable.
When updating a file data card variable from a transition action, Enterprise PDM creates a new version of the file. If the file includes references, the references are automatically updated to match the new version.
Variable

Shows the data card variable to update. The read-only Type field shows the variable's data type.

Configuration

Indicates the specific configuration tab of the data card on which the variable is to be updated.

To update all available configurations, leave this field empty.

Value

Sets the variable value. To include system variables, click and select a variable. For example, if you type Checked by %user%, and the login name of the person performing the transition is Bill, then the variable is set to Checked by Bill.



提供對此主題的意見反應

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

* 必要的

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

列印主題

選擇要列印的內容範圍:

x

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

 不要再次顯示此訊息
x

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

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

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