TeamcenterKnowledge

Workflow utilities

released_parts_collector

Socket-based server application that receives requests from the RDV-add-released-parts-queue workflow handler using the Teamcenter server. Upon receiving the request, it opens the file that contains the list of parts to be processed, locks the file, appends the newly released IA information to the file, and unlocks the file. This application can be used in two modes. When using the -S option, it works as a server, and when using the -C option, it works as a client application. Syntax Server mode: released_parts_collector_server S host-name:port-number master-file Client mode: released_parts_collector_server C host-name:port-number Command 1: Cf host -name:port-number client-IA-file Command 2: C host-name:port-number stop Command 3: C host-name:port-number empty-master-list [-h] Arguments -S Specifies that the application functions as a server. host-name:port-number Indicates the port number at which this server should listen for incoming requests. master-file Specifies the absolute path to the master XML file to be created/updated with the released parts information. The released parts information is received from either the RDV-add-released-parts-queue workflow handler or the released_parts_collector command line utility in client mode. -C Specifies that the application functions as a client. host-name:port-number Specifies the name and port number of the server. This is required when running the utility in client mode. client-IA-file Defines the absolute path of an XML file containing the list of released parts. This option must be specified only when running the utility in client mode. When this option is used, the client application sends the list of parts in the specified file to the server, which appends the new parts to the master list. stop Sends a message to stop the server. empty_master_list Sends a message to the server to empty the master released parts list. -h Displays help for this utility. Files None. Restrictions None. Examples To start the server on the trysun12 machine at port 5567 and create the file master_list.xml file, enter the following command on a single line: Copy released_parts_collector -S trysun12:5567 /tmp/master_list.xml To send the contents of the file /tmp/my_released_list.xml to the server running on trysun12 at port 5567 and add the new list of parts to the master list of released parts, enter the following command on a single line: Copy released_parts_collector -Cf trysun12:5567 /tmp/my_released_list.xml To stop the server running on trysun12 at port 5567, enter the following command on a single line: Copy released_parts_collector -C trysun12:5567 stop To empty the released parts list XML file on the server running on trysun12 at port 5567, enter the following command on a single line: Copy released_parts_collector -C trysun12:5567 clear_master_file Related Topics Workflow Designer on Rich Client

Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/dwz1737253694634/released_parts_collector.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)