Windchill
Use the Windchill connector to access and execute Windchill actions. For more information on Windchill, refer to the Windchill Help Center.
Release version
8.4.1
Supported actions
Revise
Search
Supported trigger
Supported connector types
Basic
OAuth
OAuth (Named User)
OAuth (Session User)
Prerequisites for the Windchill server setup
Windchill actions are built on Windchill REST Services (WRS). To execute any Windchill actions in ThingWorx Flow, you must install WRS.
WRS 2.0 is tested and certified to work with Windchill actions.
Configure ThingWorx Flow to use a version higher than the default WRS
If you want ThingWorx Flow to use a WRS version higher than WRS 2.0, you need to update the Windchill settings.json file on the ThingWorx Flow server. For this, do the following:
1. Run the following command to download the Windchill configuration settings from your instance of ThingWorx Flow:
flow-deploy settings download -f <Path_to_Customization_File> -t <ThingWorx_Base_URL> -u <ThingWorx_Administrator_Username> -p '<ThingWorx_Administrator_Password>' -c windchill -s default
This command downloads the settings.json file to the location that you specify with the -f argument in the command.
2. Update the settings.json file per your requirement and save it.
Update the UseLatestDomainVersions to true to use a WRS version higher than the default WRS for the Windchill connector.
Update the UseLatestDomainVersions to false to use the default WRS domain versions for the Windchill connector.
Run the following command to upload the configuration settings to your instance of ThingWorx Flow:
flow-deploy settings upload -f <Path_to_Customization_File> -k UseLatestDomainVersions -t <ThingWorx_Base_URL> -u <ThingWorx_Administrator_Username> -p '<ThingWorx_Administrator_Password>' -c windchill -s default
This command takes the value of the UseLatestDomainVersions from the settings.json file and uploads it to the ThingWorx Flow server.
* 
It is not recommended to configure ThingWorx Flow to use a WRS version that has not been tested and certified. All functionality may not work with the WRS version that you have set.
Configure ThingWorx Flow to use different Windchill domain versions
If you want ThingWorx Flow to use a various OData domain versions for WRS, you need to update the Windchill domainVersionConfig.json file on the ThingWorx Flow server. For this, do the following:
1. Navigate to the folder Installation_Directory > modules > node_modules > ptc-windchill-connector > common > lib > v1. Open and update the domainVersionConfig.json file with the required OData domain versions.
2. Execute RefreshMetadata service in the WorkflowSubsystem in ThingWorx Composer.
3. Restart all the ThingWorx Flow services.
Was this helpful?