Home Search

DriveWorks Pro 24
PDMPro: Change the State of a File

Send Feedback

PDMPro: Change the State of a File

This Generation Task will change the state of a file inside the vault.

Properties

Property NameDescription
(Name) The unique name for this task.
Source File PathFull path to the file whose state will be changed.
State NameThe name or id of the state to move the file to.
Transition NameThe name or ID of the transition to be used.
CommentThe comment to use when changing the file state (Optional).
Constant NameThe name of the Constant into which the result should be driven (Optional).

Examples

Property NameExample RuleMeaning
(Name)
Source File Path"C:\PDM Vault\DriveWorks\TestFile.txt"The TextFile.txt will be the file whose state is changed.
State Name“Approved”The file will be moved to the “Approved” state
Transition Name“No Approval Required”The transition called “No Approval Required” will be run
Comment“DriveWorks Automation”The file history will display the comment “DriveWorks Automation”
Constant NameDWConstantReportingThe Constant called “Reporting” will be driven to the result of the task.

Generation Sequence

This Task can be added to the following Generation Sequence(s):

  • Pre Copy - (will be run before the master file is cloned)
  • Post Copy - (will be run after the master file is cloned and before initial preparation is done)
  • Pre Drive - (will be run before the Main Drive Sequence)
  • Post Drive - (will be run after the Main Drive Sequence)
  • Pre Close - (will be run before the SOLIDWORKS file is closed)
  • Post Close - (will be run after the SOLIDWORKS file is closed)