In this sample, the MainProcess process uses the 
	 Call Process activity to call two direct subprocesses. One subprocess creates a list of movies, and the other subprocess either uses the genre of the movie to determine how to log it, or returns the name of the current movie. 
  
 
	  
		 
		  Note: If accessing the sample from the 
			 
Welcome page of 
			 
TIBCO Business Studio™ for BusinessWorks™, go directly to 
			 
Step 3. 
		  
 
 
		 
 
	  
 
	 Procedure
-  
		  In the 
			 samples directory, select 
			  and double-click 
			 tibco.bw.sample.core.soa.DirectCallProcess. For more information, see 
			 Accessing Samples. 
		   
		
-  
		  In the 
			 Project Explorer view, expand the 
			 tibco.bw.sample.core.soa.DirectCallProcess.readme project. 
		   
		
-  
		  Set the default 
			 ApplicationProfile to match the OS you are running on. For more information, see 
			 Setting the Default Application Profile. 
		   
		
-  
		  Fully expand the 
			 Processes directory and double-click 
			  MainProcess.bwp. 
		   
		
-  
		  Click 
			 . 
		   
		
-  
		   At the left hand tree of 
			 Debug Configuration wizard, expand 
			 BusinessWorks Application and select 
			 BWApplication. 
		   
		
-  
		  Click the 
			 Applications tab and then click the 
			 Deselect All button if you have multiple applications. Select the check box next to 
			 tibco.bw.sample.core.soa.DirectCallProcess. 
		   
		
-  
		  Click 
			 Debug. 
		   
		  This runs the sample in Debug mode. 
		   
-  
		  Click the 
			 Terminate 
			  icon to stop the process. icon to stop the process.
Result
 
		 The 
		  output.log file is generated in the 
		  C:\tmp\CallProcess\ActionMovie.txt directory. This file contains output from the ActionMovieList direct subprocess and OtherMoviesList direct subprocess. 
		
 
	 Understanding the Configuration
 
		 
		 This is a hands-on and simple demonstration for the designtime experience with the direct subprocess. The 
		  MainProcess.bwp process creates a list of movies, then according to the movie genres, calls a direct subprocess to either log outputs to a text file, or to return the name of the current movie. 
		
 
	 Copyright © Cloud Software Group, Inc. All rights reserved.