Community

Conditional export of certain fields through scripting Answered

Hello,

Is there any way to define which fields get exported programmatically through scripting?

Something similar to the example below.

{if the value of 'FieldA' > 10 then export

else dont export}

Thanks!

 

 

Was this article helpful?

0 out of 0 found this helpful

Comments

2 comments

  • Avatar
    Vladimir Dimitrijević

    Hi,

    As far as I know, default export cannot help for this requirement. You would need to create additional automatic stage, type of Batch processing, and code a script there- connect to database, insert data, close connection...
    You could even code in your preferable IDE and import dll to ABBYY FC- if it is easier for you, of course.

    To access field from workflow stage script:
    decimal fieldA = Convert.ToDecimal(Document.Field(@"Invoice Layout\FieldA").Text);

    Best regards,
    Vladimir

    1
  • Avatar
    PhinkTad

    Thanks, Vladimir!

    0

Please sign in to leave a comment.