Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

override subflow input attr when restart main flow #151

Open
unysun opened this issue Jun 2, 2021 · 0 comments
Open

override subflow input attr when restart main flow #151

unysun opened this issue Jun 2, 2021 · 0 comments

Comments

@unysun
Copy link

unysun commented Jun 2, 2021

Current behavior (how does the issue manifest):
hi,
when i restart flow which include subflow and has same name activity in main flow and sub flow by FlowTesterService, i got
all same name activity attribute override, for exp:
in main flow, i have a activity called log_2,
in subfow_1 flow, i have a activity called log_2 too.

when i restart flow by curl:
curl "http://127.0.0.1:8080/flow/restart"
-v
-H "Content-Type: application/json"
-X POST
-d '{"initialState":{"flowURI":"res://flow:main","status":100,"tasks":[{"id":"log_2","status":20}],"id":"123430d67b9264a4c77b6a80e935e513","workQueue":[{"id":1,"subflowId":0,"taskId":"log_2"}]},"interceptor":{"tasks":[{"id":"log_2","inputs":{"message":"E","addDetails":false,"usePrint":false}}]}}'

all log_2 output message become "E", but in subflow_1, i set "C" in log_2

Expected behavior:
not override all same name activity in deferent flow,

Minimal steps to reproduce the problem (not required if feature enhancement):

Please tell us about your environment (Operating system, docker version, browser & web ui version, etc):
mac os

Flogo version (CLI & contrib/lib. If unknown, leave empty or state unknown): 0.X.X
latest

Additional information you deem important (e.g. issue happens only occasionally):

@unysun unysun changed the title wrong overriding subflow input attr when restart flow ? overriding subflow input attr when restart main flow Jun 2, 2021
@unysun unysun changed the title overriding subflow input attr when restart main flow override subflow input attr when restart main flow Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant