Articy Forum


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

startsOn (field) and StartsOn (property) - Unclear API

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

Page 1 of 1

startsOn (field) and StartsOn (property) - Unclear API

Posted: Sun 2. Dec 2018, 05:24
by handsomegeoff
Hi there,

I've recently run into an issue where the state of flows weren't reset when running them through a single ArticyFlowPlayer consecutively. I was using startsOn to dynamically assign a dialogue flow to be executed in code. Subsequent executions wouldn't reset the state of the flow. As noted in the post below, I need to use "StartsOn" (the property) to reset the state. "startsOn" (the field) will not have the same effect.

https://www.nevigo.com/forum/viewtopic.php?f=46&t=18315

I think this is misleading and will create difficult bugs for users.

Thanks,
Geoff

Re: startsOn (field) and StartsOn (property) - Unclear API

Posted: Mon 3. Dec 2018, 09:33
by [Articy] Nico Probst
Hi handsomegeoff,

yes, this can be quiet confusing, that's why there is a note in both property documentations.
But i think in a future version we try to hide one of the properties better.

Best regards

Nico

All times are UTC
Page 1 of 1