Skip to main content

Simple way to get Document ID when designing a process


Question / Problem: 

There are many API methods which require Document ID as a parameter.

How can I get Document ID when designing a process?

Answer / Solution: 

The following steps are a simple way to get Document ID.

  1. Create process variables below.

DocID        String

IdxCount   Short  (value : 1)

IsFound     Bool

 2. Add a loop node after Extraction activity of Process.

 3. Configure the loop node property as below.

Loop Property Settings.JPG

The loop node is added just to get Document ID. You don't have to consider looping. Activities after the loop node does not loop.

Applies to:  

Product Version