Skip to main content
All CollectionsFrends FundamentalsBuilding Processes - Returns
Introduction to Intermediate Return Element
Introduction to Intermediate Return Element

Return Element

Ossi Galkin avatar
Written by Ossi Galkin
Updated over 7 months ago

Intermediate Return Element

An 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.

The next article is Introduction to HTTP Response.


โ€‹

Did this answer your question?