Using functions and associated scripts
A function is an object that sends data to a remote function processor through a message destination. The purpose of a function is to invoke remote code, which performs an activity then returns the results to the function.
Optionally, you can use a pre-process script to dynamically set the input values, and a post-process script to perform an activity based on the function’s result.
For more information about functions, see Functions and Process Scripts.