Creating a process to update custom attributes
       
       
       
       
        
       
       
 
 
       
        
         - 
          
           In Workbench, create an application. For example RCACustomAttributes.
           
          
         - 
          
           Add a new process. For example, StoreCustomAttributes.
           
          
         - 
          
           Create the following variables:
            
            
             
              
               | 
                 
                 Name
                 
                | 
               
                 
                 Type
                 
                | 
               
                 
                 Purpose
                 
                | 
               
             
             
              
               | 
                 
                 reviewId
                 
                | 
               
                 
                 String
                 
                | 
               
                 
                 Input
                 
                | 
               
              
               | 
                 
                 list CustomAttributeTO
                 
                | 
               
                 
                 list of CustomAttributeTO
                 
                | 
               
                | 
               
              
               | 
                 
                 customAttr
                 
                | 
               
                 
                 CustomAttributeTO
                 
                | 
               
                | 
               
              
               | 
                 
                 release
                 
                | 
               
                 
                 String
                 
                | 
               
                 
                 Holds the custom attribute release
                 
                | 
               
             
             
            
           
          
         - 
          
           Add a Set Value operation, name the operation GetCustomAttribute,
and add the following mapping data:
           
          
          
         - 
          
           Add a Set Value operation, name it SetReleaseValue, add the
following mapping data:
           
          
          
         - 
          
           Add an Execute SQL Statement (JDBC service) operation. Complete
the following steps to add the release value that was set to create
a row in the table.
           
          
           - 
            
             For the Datasource name property,
select the appropriate data source from the list.
             
            
           - 
            
             Click the ellipsis button beside the SQL Statement box.
             
            
           - 
            
             In the SQL Info Editor dialog box, in the SQL Statement box
write, type
             
              update ReviewRelease SET release = ? where reviewID =?
             
             .
             
            
           - 
            
             Select the Use Parameterized Query check box.
             
            
           - 
            
             Add the following data sets:
             
            
            
           - 
            
             Click OK to close the SQL Info Editor dialog box.
             
            
           
          
         - 
          
           Save and deploy the application
           
          
         - 
          
           In Livecycle Administration Console, navigate to Home >
Services > Applications and Services > Service Management
> and select the ReviewCommentingAndApprovalService.
           
          
         - 
          
           Select Whether To Use Custom Processes To Store/update/search
Custom Attributes. checkbox.
           
          
         - 
          
           In the Process Which Stores Custom Attributes box, type RCACustomAttributes/
StoreCustomAttributes.
           
          
         - 
          
           Save.
           
          
         
        
       
       
        
       
       
       
       
      
      
      
      
      
      | 
     
      
      |