Workflows - Access OCR content for condition for adding tags

Questions, comments, discussions. Over time certain topics might be moved to their own category.
Post Reply
ZiZoTeX
Posts: 4
Joined: Sun May 03, 2020 3:24 pm

Workflows - Access OCR content for condition for adding tags

Post by ZiZoTeX »

Hello there,

I have trouble accessing the content of a Document to determine if a add a tag.
I tried it with the document.latest_version.content variable, but I guess this is no accessible from a workflow.
I have a workflow which enters a state when OCRing is finished. Then I would like to look for certain words an add a tag if they are in the content.
Unfortunatley I have no clue how I can access the OCR Content from within the workflow state action.


Any help is greatly appreciated.

Best regards

ZiZoTeX
Posts: 4
Joined: Sun May 03, 2020 3:24 pm

Re: Workflows - Access OCR content for condition for adding tags

Post by ZiZoTeX »

just realized that I posted the question in the wrong forum. Sorry bout that!

ZiZoTeX
Posts: 4
Joined: Sun May 03, 2020 3:24 pm

Re: Workflows - Access OCR content for condition for adding tags

Post by ZiZoTeX »

And now I feel pretty stupid.
Of course I can access everything from workflow_instance.document.latest_version.ocr_content.

I didn't realize I was not using the workflow_instance entrypoint there.

Post Reply