For long lasting actions, there is a need to show a progress and run the asynchronous code.

There are two options to execute these actions:

 You can find the code examples in <modeling tool installation directory>\openapi\examples\progressstatus