Reply To: Multiple Custom Function invocations in a row all return the same result

Forums 💬 FlowCanvas ⚙️ Support Multiple Custom Function invocations in a row all return the same result Reply To: Multiple Custom Function invocations in a row all return the same result

#12106
goor
Participant

    Yes I am certain. By multiple manual validations, debugging and especially after adding simple cache in-between the two invocations to hold the result of the first one fixed the problem.

    You can find the custom function code in the attached screenshot.

    Repro steps should be:

    1. Create custom function that takes one argument (to vary the result by) and returns a value based on the argument
    2. Insert new invocation node for said function in your graph
    3. Repeat the previous step (2)
    4. Make sure both calls get a different input value
    5. Lead a flow from first node to the second and then log the results taken directly from both nodes into a console
    6. Observe that both results are the same. Even though they should not be.