This example creates a simple launched statement for an activity.
Create Statement from JavaScript function