Community

How can I know which processing station execute the recognize stage? Answered

Hi,

We have the 6 processing stations, they execute all kinds of tasks.

But now, I want to know which execute the recognized task and let the value export to DB also.

I can use script like to get which processing station execute the task

string hostName = Dns.GetHostName(); //using System.Net namespace

In my knowledge(If there is any wrong please correct me), if I add a custom stage before recognized stage, it seems can't get the exact value(because each stage in advanced workflow is a task, it may be assign another machine to execute next task)

What about rule script of field in the document structure? Is it guaranteed that I can get right value every time?

If there is another suggestion, please let me know.

Thanks in advanced.

Was this article helpful?

0 out of 0 found this helpful

Comments

1 comment

  • Avatar
    Permanently deleted user

    Hello,

    We may offer you the two following scenario:

    1) Create the script in the Document Definition that will be executed once after recognition.

    2) Use the “after document state changed” handler. This part of the handler script will be executed in the same place as the recognition.

    0

Please sign in to leave a comment.