fix: workflow and graphical editor tests failed
All checks were successful
Deploy Plattform-Core INT / test (push) Successful in 16s
Deploy Plattform-Core INT / deploy (push) Successful in 8s

This commit is contained in:
Ida 2026-05-26 12:02:04 +02:00
parent ab48aaea3c
commit 4ed9b605fc
2 changed files with 11 additions and 1 deletions

View file

@ -64,6 +64,16 @@ class MethodContext(MethodBase):
dynamicMode=True, dynamicMode=True,
outputType="UdmDocument", outputType="UdmDocument",
parameters={ parameters={
"context": WorkflowActionParameter(
name="context",
type="Any",
frontendType=FrontendType.CONTEXT_BUILDER,
required=False,
description=(
"Optional context payload that may contain file/document references. "
"Preferred input for extractContent; documentList remains supported for compatibility."
),
),
"documentList": WorkflowActionParameter( "documentList": WorkflowActionParameter(
name="documentList", name="documentList",
type="DocumentList", type="DocumentList",

View file

@ -27,7 +27,7 @@ def test_context_extractContent_node_shape():
assert "LoopItem" in node["inputPorts"][0]["accepts"] assert "LoopItem" in node["inputPorts"][0]["accepts"]
names = [p["name"] for p in node["parameters"]] names = [p["name"] for p in node["parameters"]]
assert names == [ assert names == [
"documentList", "context",
"contentFilter", "contentFilter",
"outputMode", "outputMode",
"splitBy", "splitBy",