Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

token chain on ResultEvent

Level 2
Level 2
I thought that the AsyncToken was always supposed to be
available in the ResultEvent?

After a call to createItem (on a DataService), the token data
I set is not in the token property of the event when the
ResultEvent function executes. The result is an AcknowledgeMessage.

But in the debug environment, I do see a dynamic object
called __token_chain__ below the outermost token. Beneath it is a
UID, and below that is the token I'm looking for - the one which
contains the true result of my original call, in addition to the
other properties set.

Does anyone know how to gain access to the original token? Is
this handled differently by FDS if using a sync method?

Thank you.
0 Replies