We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b65a9d3 commit 9d7ab37Copy full SHA for 9d7ab37
apps/sim/app/workspace/[workspaceId]/w/[workflowId]/workflow.tsx
@@ -969,6 +969,14 @@ const WorkflowContent = React.memo(() => {
969
const handleId = conditionHandles[0].getAttribute('data-handleid')
970
if (handleId) return handleId
971
}
972
+ } else if (block.type === 'router_v2') {
973
+ const routerHandles = document.querySelectorAll(
974
+ `[data-nodeid^="${block.id}"][data-handleid^="router-"]`
975
+ )
976
+ if (routerHandles.length > 0) {
977
+ const handleId = routerHandles[0].getAttribute('data-handleid')
978
+ if (handleId) return handleId
979
+ }
980
} else if (block.type === 'loop') {
981
return 'loop-end-source'
982
} else if (block.type === 'parallel') {
0 commit comments