Skip to main content
Kofax

Kofax TotalAgility - How to access the Parent FolderID value in a Scan Activity form

Question / Problem: 

In TotalAgility, when we are using a Scan activity form we will have access to the CaptureCreateaNewActivityScan control.
This control has several properties, however it does not have a way of providing the OutputFolderID of the folder being used.

 

Answer / Solution: 

If we want to access the parent FolderID in this activity, then we must go to the Process map, and in the 'Scan' activity's Input/Output variables, you can map in the Folder.InstanceID as an input.

Now when you re-generate and release the Scan Activity Form, the Folder.ID will be available in the Scan Control activity fields.

This can then be used in API calls etc.

Enter How to here:

  1. In the process map, open the Scan activity properties.
  2. Then in the Input/Output variables section, pass in the Folder.Instance ID as an input
  3. Release the process map
  4. Regenerate and Release the Scan activity Form
  5. Open the regenerated form, and click configure in the CaptureCreateaNewActivityScan control
  6. You will see that the FolderID value is now available to be used.

 

Applies to:  

Product Version
TotalAgility 7.4, 7.5 and 7.6