Articy Forum


https://www.articy.com:443/forum/

Potential Variable State in Branch.Path

https://www.articy.com:443/forum/viewtopic.php?f=46&t=18475

Page 1 of 1

Potential Variable State in Branch.Path

Posted: Fri 16. Nov 2018, 21:40
by deepspectrum
Is there anyway to retrieve the variable State that would exist at the end of a branch.path without running it? I know the FlowPlayer secretly evaluates the path, supposedly storing var changes as part of the evaluation, and correctly does so without making any actual variable changes, but is there any way to access that evaluation through the "branch" type?

Re: Potential Variable State in Branch.Path

Posted: Mon 19. Nov 2018, 09:04
by [Articy] Nico Probst
Hi deepspectrum,

no this is not possible at this time, unfortunately. But i will add it to our feature request list. One possible solution could be to give the ObjectNotificationManager a flag that allows it to call the Listener, even when inside a forecast. That way you could add this tracking yourself.

The currently only solution would be to actually play the branch, track any changes and revert them. Not really effective, but not as worse as it sounds performance wise, if you take caution for any side effects like your custom methods or any other registered notification listeners.

Sorry for not giving you a better answer.

Best regards

Nico

All times are UTC
Page 1 of 1