To approve or reject a document or a file in SharePoint with no human action, do the procedure in this topic.
    
    
    
    
    Approve/Reject Content Configuration Screen
      
      
      
      
    How to Start
 
         
         
          - On the Organizer, 
            do one of these: 
            
            
            
          
- Do one of these:
            
              - Add an activity:
                
                  
                  - In the Process Builder, go to the Activity Library, and 
                    open the SharePoint  tab. tab.
- On the SharePoint  tab,
                    drag the Approve/Reject Content tab,
                    drag the Approve/Reject Content activity onto your process. activity onto your process.
 
- Change an activity: 
                  - In your process, double-click your activity.
 
 
- Click 
            Approve/Reject Content Configuration  . .
Procedure
 
         
        
         
          - On the Approve/Reject Content Configuration screen, in the SharePoint field, select your SharePoint access token.
            To create a new access token, click 
            Add Token  . For more information, refer to
            New SharePoint Access Token. . For more information, refer to
            New SharePoint Access Token.
 
- To configure your document or file settings, complete these fields 
	 				as necessary.
             
                | Field Name | Definition |  
        | Site | 
            
              Function:Specifies the URL for your SharePoint site.Accepted Values:
              Default Value:None
                
              Accepts Process Data Variables:YesExample:
                 
                  http://[machine name]:[port]/sites/[site name]  You must include the /sites in the Site URL for the site to be created successfully. 
	  |  
        | Library | 
            
              Function:Specifies the name of the SharePoint library. Accepted Values:A valid SharePoint library name.
              Default Value:None
                
              Accepts Process Data Variables:Yes |  
        | Folder | 
            
              Function:Specifies the name of your SharePoint folder.
              Accepted Values:The name of your SharePoint folder
                If the folder does not exist within the specified SharePoint list, the AgilePoint system creates it.Default Value:None
                
              Accepts Process Data Variables:Yes |  
        | File Name | 
            
              Function:The name of your file.
              Accepted Values:A valid file name.
              Default Value:None
                
              Accepts Process Data Variables:Yes |  
 
- To specify whether to approve or reject the document or file, in the Approval Type field, select Approve or Reject.