User: alex clicked save for demo/demo-preload/preload-data.bpmn
This commit is contained in:
parent
b3e04867d5
commit
457186d5fe
|
@ -26,13 +26,13 @@
|
|||
<bpmn:script>invoice = {}
|
||||
|
||||
# no numbers in contributor name validation
|
||||
if "Number in contributor name" in ValidationChoices:
|
||||
if " Number in contributor name" in ValidationChoices:
|
||||
invoice["contributorName"] = "Harmee5 Singh"
|
||||
else:
|
||||
invoice["contributorName"] = "Harmeet Singh"
|
||||
|
||||
# Invoice amount number of decimals validation
|
||||
if "Too many decimals in invoice amount" in ValidationChoices:
|
||||
if " Too many decimals in invoice amount" in ValidationChoices:
|
||||
if scenarioChoices == "Correct invoice amount":
|
||||
invoice["invoiceAmount"] = 10000.001
|
||||
else:
|
||||
|
@ -44,7 +44,7 @@ else:
|
|||
invoice["invoiceAmount"] = 10001.00
|
||||
|
||||
# Due date validation
|
||||
if "Due date before today's date" in ValidationChoices:
|
||||
if " Due date before today's date" in ValidationChoices:
|
||||
invoice["dueDate"] = "2021-12-12"
|
||||
else:
|
||||
invoice["dueDate"] = "2022-12-12"
|
||||
|
|
Loading…
Reference in New Issue