Workflow agent registration.

Workflow agent registration.

Postby ddavydov » Fri Oct 12, 2012 11:22 am

I developed a WFA and successfully registered it with Kofax 9.0.
However in runtime I can see in log a "429 ActiveX component can't create object".
What can it be?
Posts: 51
Joined: Thu Jul 19, 2012 12:06 pm

Re: Workflow agent registration.

Postby bclaman » Mon Oct 15, 2012 4:31 am

hard to say without seeing code but one of the things I like to do to isolate non-descriptive errors is to write an excessive amount of messages to the screen, or in your case the log file, so that I can see when it breaks. So surround major sections of code with messages like: made it to #1 .... made it to #2 ... etc.

Also since you would be writing to the log be sure and write the time as part of the message.

That should at least let you identify what call is causing the error and then you can move on to the "why".
Posts: 258
Joined: Thu Sep 24, 2009 10:00 am
Location: Des Moines, IA

Re: Workflow agent registration.

Postby ddavydov » Mon Oct 15, 2012 6:40 am

Thank you Bill.
I will put in my code routines that will write to a text file, and see the output.
But my main concern now is in overall direction I took.
The application I am working on is an unttended indexing module that must index each document by lookin up a database after scanning documents with a barcode that supplies an initial value for database lookup.
The problem is that I am not sure what it should be: a workflow agent or a custom module.
In both cases I can get to indexing values using the ACDataElement dll.
When I am doing a simple script like:

If oWorkflowData.CurrentModule.Name = "RECOGNITION" Then

oRoot = oWorkflowData.ExtractRuntimeACDataElement(0)
oBatch = oRoot.FindChildElementByName("Batch")
oDocs = oBatch.FindChildElementByName("Documents")

For Each oDoc In oDocs
oInd = oDoc.FindChildElementsByAttribute("IndexField", "Name", "ABC")
oInd("Value") = "ABCDEF"
End If
just to see how I can manipulate indexing values, I am getting the error I mentioned before.
Posts: 51
Joined: Thu Jul 19, 2012 12:06 pm

Return to Custom Modules General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest