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

Not able to access inputs object inside the sub workflow unless explicitly passed #941

Open
gurjotkaur20 opened this issue Jan 30, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@gurjotkaur20
Copy link
Contributor

Version Information

@godspeedsystems/godspeed-core: 2.3.2

Current Behavior

We are not able to use inputs inside the sub workflow as it is if we don't pass it in the args. We need to pass it in the args if we want to use inputs.

  - id: call_function
    fn: com.biz.user
    args: <% inputs %>

Expected Behavior

inputs should go in the sub workflow. We should not set args explicitly.

@gurjotkaur20 gurjotkaur20 added the bug Something isn't working label Jan 30, 2024
@mastersilv3r mastersilv3r changed the title Not able to access inputs object inside the sub workflow Not able to access inputs object inside the sub workflow unless explicitly passed Feb 5, 2024
@mastersilv3r mastersilv3r added enhancement New feature or request bug Something isn't working and removed bug Something isn't working enhancement New feature or request labels Feb 5, 2024
@mastersilv3r
Copy link
Contributor

We should merge the args to workflow with the inputs within the GSContexxt when calling sub workflow. This way args will also get passed and also original event inputs.

@mastersilv3r mastersilv3r added enhancement New feature or request and removed bug Something isn't working labels Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants