User: jon@sartography.com clicked save for misc/service-tests/bamboo/bamboo_get_employee_pay_rate.bpmn
This commit is contained in:
parent
97e95cf356
commit
761b0761c1
|
@ -23,6 +23,7 @@ get_employee_only_current = True</spiffworkflow:preScript>
|
||||||
<bpmn:outgoing>Flow_1kx779w</bpmn:outgoing>
|
<bpmn:outgoing>Flow_1kx779w</bpmn:outgoing>
|
||||||
<bpmn:script>if "payRate" in bamboo_get_employee:
|
<bpmn:script>if "payRate" in bamboo_get_employee:
|
||||||
pay_rate_parts = bamboo_get_employee["payRate"].split(" ")
|
pay_rate_parts = bamboo_get_employee["payRate"].split(" ")
|
||||||
|
if len(pay_rate_parts) > 1:
|
||||||
bamboo_get_employee["amount"] = pay_rate_parts[0]
|
bamboo_get_employee["amount"] = pay_rate_parts[0]
|
||||||
bamboo_get_employee["currency"] = pay_rate_parts[1]
|
bamboo_get_employee["currency"] = pay_rate_parts[1]
|
||||||
del(pay_rate_parts)</bpmn:script>
|
del(pay_rate_parts)</bpmn:script>
|
||||||
|
|
Loading…
Reference in New Issue