Skip to main content
Kofax

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

Article # 3034884 - Page views: 80

Issue

How can we access the Parent FolderID value in a Scan Activity form in Kofax TotalAgility?

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.

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 FolderID 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.

 

Level of Complexity 

Moderate

 

Applies to  

Product Version Build Environment Hardware
Kofax TotalAgility 7.4 (and above)      

References

Add any references to other internal or external articles

 

Article # 3034884
  • Was this article helpful?