is sniro request is initial or speed change

Changed logic to determine if sniro request is initial or speed change.

Change-Id: I36eeea8860855bf5226560dcc2722a2c27723ef9
Issue-ID: SO-893
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
diff --git a/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/SniroUtils.groovy b/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/SniroUtils.groovy
index fd4ab32..9b14432 100644
--- a/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/SniroUtils.groovy
+++ b/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/SniroUtils.groovy
@@ -110,9 +110,12 @@
 		String requestType = "initial"
 		List<Resource> resources = decomposition.getServiceResources()
 		for(Resource r:resources){
-			HomingSolution currentSolution = (HomingSolution) r.getCurrentHomingSolution()
+			HomingSolution currentSolution = r.getCurrentHomingSolution()
 			if(currentSolution != null){
-				requestType = "speed changed"
+				String indicator = currentSolution.getServiceInstanceId()
+				if(indicator != null){
+					requestType = "speed changed"
+				}
 			}
 		}