Setting dynamic chain variables in a chain, referencing one variable from another
BeantwoordAttempting to set dynamic variables in a chain, and need to reference the value of one variable from the other. This is the first step in my chain.
EffectiveDate: The current datetime, minus 1 month
FilePath: A file name that contains the value of EffectiveDate, transformed. For example: "SomeFileName Sept-2022.csv".
I receive no errors when I save the "Set Dynamic Chain Variable" event as shown in the screen shot below. But the result is showing that EffectiveDate does not have a value when the FilePath variable is being set during the first execution run. The second time I execute it, the EffectiveDate value is set using a cached value from the previous run.
How can I reference one dynamic variable from another one in the same event?
-
One workaround is to add a second "Edit Set Dynamic Chain Variable" event directly inline after the first. Set the the effective date in the first event, and then all other variables that rely on it, in the second. This works as expected, even though it's not a very clean solution.
0U moet u aanmelden om een opmerking te plaatsen.
Opmerkingen
1 opmerking