Hi Samialfarra,
We tried to reproduce the mentioned scenario by using the async method for generating DataModel, the data for organization chart is generated properly. Please find below the sample, which we tried to reproduce the scenario.
Sample Link:
We guess that you need a solution for applying templates to nodes after the web service or after any async task.
For that you can try to call the wait method of the async task.
Code Snippet:
datamodel.DataAsync().Wait();
Below Microsoft link explaining an await expression does not block the thread on which it is executing,
For further details regarding any queries, please let us know or create a support incident under your Directrac account.
Thanks,
Arun