CompleteWorkstep( ) method
  
   Completes a Workstep on the Process instance.
  
  
   Return type: LOGICAL
  
  
   Access: PUBLIC
  
  
  Syntax
  
   
    
     | 
       CompleteWorkstep( INPUT name AS CHARACTER )
       
 CompleteWorkstep( INPUT name AS CHARACTER,
 INPUT dataslots AS DATASLOT EXTENT,
 INPUT duration AS INT64)
 | 
   
   
  
   name
  
  
   The name of the Workstep instance to be completed.
  
  
   dataslots
  
  
   An array of Progress.BPM.Dataslot objects to be passed to the completed Workstep.
  
  
   duration
  
  
   The duration of the Workstep instance (in seconds).
  
  
   On successful execution, this method returns TRUE. If the method fails, it raises a BPM error.