diff --git a/misc/service-tests/bamboo/bamboo_get_employee_pay_rate.bpmn b/misc/service-tests/bamboo/bamboo_get_employee_pay_rate.bpmn index cfd4520a..dac7914e 100644 --- a/misc/service-tests/bamboo/bamboo_get_employee_pay_rate.bpmn +++ b/misc/service-tests/bamboo/bamboo_get_employee_pay_rate.bpmn @@ -23,8 +23,9 @@ get_employee_only_current = True Flow_1kx779w if "payRate" in bamboo_get_employee: pay_rate_parts = bamboo_get_employee["payRate"].split(" ") - bamboo_get_employee["amount"] = pay_rate_parts[0] - bamboo_get_employee["currency"] = pay_rate_parts[1] + if len(pay_rate_parts) > 1: + bamboo_get_employee["amount"] = pay_rate_parts[0] + bamboo_get_employee["currency"] = pay_rate_parts[1] del(pay_rate_parts)