Views:

Question:
How can I use workflow designer to determine the number of pages in a document? 

Answer:
To determine the number of pages in a document, do the following, 
 

  1. In your Workflow, add a Web Service activity, then choose DocuWare Platform API.
  2. Choose Get /FileCabinets/{TrayId\FileCabinetId}/Documents/{DocId} from the Endpoint dropdow.
  3. From the Data Assign tab, add a line choosing the $.TotalPages JSON Path, assigning it either a global variable or an index field.


KBA applicable for both Cloud and On-premise Organizations