mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-04-30 04:30:19 +00:00
create and update workflow run block inworkflow execution (#1419)
This commit is contained in:
parent
8b75586fb1
commit
b256bace6a
8 changed files with 279 additions and 54 deletions
|
|
@ -329,7 +329,7 @@ async def run_observer_cruise(
|
|||
break
|
||||
|
||||
# generate the extraction task
|
||||
block_result = await block.execute_safe(workflow_run_id=workflow_run_id)
|
||||
block_result = await block.execute_safe(workflow_run_id=workflow_run_id, organization_id=organization_id)
|
||||
|
||||
# refresh workflow
|
||||
yaml_blocks.extend(block_yaml_list)
|
||||
|
|
@ -534,7 +534,10 @@ async def _generate_loop_task(
|
|||
)
|
||||
|
||||
# execute the extraction block
|
||||
extraction_block_result = await extraction_block_for_loop.execute_safe(workflow_run_id=workflow_run_id)
|
||||
extraction_block_result = await extraction_block_for_loop.execute_safe(
|
||||
workflow_run_id=workflow_run_id,
|
||||
organization_id=observer_cruise.organization_id,
|
||||
)
|
||||
LOG.info("Extraction block result", extraction_block_result=extraction_block_result)
|
||||
if extraction_block_result.success is False:
|
||||
LOG.error(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue