-
So, in stage one, I have a db refresh request sent with:
After that, I persist
This should refresh token, and get the status after the default sleep time of 300 seconds, but, it comes back saying (dont mind the 5 second sleep, that's just for testing)
The first highlighted activity, is my persisted variable. The second activity is a new one each time - what am I doing wrong here? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Did you get the script to work when running locally on a machine first? Can you print the content of the release variable, dbRefreshActivityId, in the next stage? You could try to output the |
Beta Was this translation helpful? Give feedback.
-
With help from @Splaxi I figured it out. I didnt know that the ActivityId and OperationActivityId of the Get-D365LcsDatabaseOperationStatus return object were not the same. So, once I started using the right (OperationActivityId) I got it working. |
Beta Was this translation helpful? Give feedback.
With help from @Splaxi I figured it out. I didnt know that the ActivityId and OperationActivityId of the Get-D365LcsDatabaseOperationStatus return object were not the same. So, once I started using the right (OperationActivityId) I got it working.