waitForMessage() method

Processing should be temporarily paused to wait for additional incoming trigger.

Syntax

void waitForMessage ()

Usage

For example, this is used by the Send SMS state after sending the sms message out. The state is waiting for a reply from the consumer that will be used in determining the follow-up state.