I am trying to create an automated test case using UiPath with UiPath.MicrosoftDynamics.Activities package, version 1.0.5 Case is:
create a contact in MS Dynamics and retrieve contact ID in different env (Test env, UAT env, then we have separate env for each country we have). How it is setup:
I have client ID, secret, tenant ID stored in orchestator.
I have a list of environments in an excel and I am reading that and putting in a data table.
Then I have “For each row in data table” create contact and fetch contact ID.
The issue is that contact are indeed created in all env, but in UiPath I get always the same contact ID which is of the first contact. Any idea why that is happening and why I don’t get contact ID each time as it really is?
I have also tried inserting 3 different Insert Record activities one after another in the “For each” and each of them fetches correct contact ID until it goes back from the begining and then again it retrieves the same 3 IDs in that same order. I tried this whole thing with “While” activity and same thing happens.