mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-14 17:29:40 +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
|
@ -248,7 +248,10 @@ class WorkflowService:
|
|||
block_type_var=block.block_type,
|
||||
block_label=block.label,
|
||||
)
|
||||
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,
|
||||
)
|
||||
if block_result.status == BlockStatus.canceled:
|
||||
LOG.info(
|
||||
f"Block with type {block.block_type} at index {block_idx}/{blocks_cnt -1} was canceled for workflow run {workflow_run_id}, cancelling workflow run",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue