Intermediate return works in a similar manner to Return, with one big difference. An Intermediate return does not end the execution, instead it allows the process to continue executing. An intermediate return only does something when the Process is triggered by a HTTP Trigger. It allows giving a result back to the caller before a time consuming process begins. Intermediate returns are drawn as an alternative execution path and can only be attached to a Task, Call Subprocess or Code element. While it's possible to have multiple Intermediate returns in a Process, the intermediate result will only be returned back to the caller for the first Intermediate Return encountered.

Example usage of Intermediate return.

Did this answer your question?