From 761b0761c1113cca521d643606f55964e1bb6d95 Mon Sep 17 00:00:00 2001 From: sartography-automated-committer Date: Fri, 6 Jan 2023 19:12:56 +0000 Subject: [PATCH] User: jon@sartography.com clicked save for misc/service-tests/bamboo/bamboo_get_employee_pay_rate.bpmn --- misc/service-tests/bamboo/bamboo_get_employee_pay_rate.bpmn | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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)