globus-gladier / gladier-client-examples

A set of standalone examples for completing common tasks in Gladier
0 stars 1 forks source link

fix: Add result path to custom flow #15

Closed NickolausDS closed 8 months ago

NickolausDS commented 9 months ago

This doesn't fix anything wrong with the flow itself, but I found out that NOT specifying a result path will overwrite EVERYTHING on the flow's volitile state. So if any next steps rely on it, which they almost always do for Gladier, those next steps will suddenly fail.

So if anyone copies this code and wonders why multiple states don't work, this will fix that.