EC2 activity result values EC2 activities use a REST message to communicate with Amazon. All EC2 activities set their activity.result value based on the response code returned by this REST message. If the response code indicates an error, or if there is a REST fault, the activity result value is failure. If the REST message does not return an error code or a REST fault, the activity result value is success. For more information about activity result, see Workflow activities.