File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
pattern-2/src/ocr_function
pattern-3/src/ocr_function Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ def handler(event, context):
3737
3838 # Update document status to OCR and update in AppSync
3939 document .status = Status .OCR
40+ document .workflow_execution_arn = event .get ("execution_arn" )
4041 appsync_service = DocumentAppSyncService ()
4142 logger .info (f"Updating document status to { document .status } " )
4243 appsync_service .update_document (document )
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ def handler(event, context):
3737
3838 # Update document status to OCR and update in AppSync
3939 document .status = Status .OCR
40+ document .workflow_execution_arn = event .get ("execution_arn" )
4041 appsync_service = DocumentAppSyncService ()
4142 logger .info (f"Updating document status to { document .status } " )
4243 appsync_service .update_document (document )
You can’t perform that action at this time.
0 commit comments