Forum Discussion
1 Reply
- RussellNew Contributor III
I'm not sure what you are using to make your RESTAPI call but...
You can use 2 REST API calls. The first queues the DM job. This will always return success. The second RESTAPI call will query the status of the job. You can loop until success or failure and handle accordingly. Inside the loop you can put the thread to sleep on an interval, so it doesn't tie up system resources.
Related Content
- 4 years ago
- 4 years ago
- 4 years ago