aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/so/add_service_recipe.robot
diff options
context:
space:
mode:
Diffstat (limited to 'robot/resources/so/add_service_recipe.robot')
-rw-r--r--robot/resources/so/add_service_recipe.robot7
1 files changed, 4 insertions, 3 deletions
diff --git a/robot/resources/so/add_service_recipe.robot b/robot/resources/so/add_service_recipe.robot
index 1e342873..bf6b7c9c 100644
--- a/robot/resources/so/add_service_recipe.robot
+++ b/robot/resources/so/add_service_recipe.robot
@@ -43,9 +43,10 @@ Get First Free Service Recipe Id
Log ${source data}
${serviceRecipes}= Set Variable ${source data['_embedded']['serviceRecipe']}
${ids}= Create List
- :FOR ${recipe} IN @{serviceRecipes}
- \ ${id}= Get From Dictionary ${recipe} id
- \ Append To List ${ids} ${id}
+ FOR ${recipe} IN @{serviceRecipes}
+ ${id}= Get From Dictionary ${recipe} id
+ Append To List ${ids} ${id}
+ END
Sort list ${ids}
${biggest_id}= Get From List ${ids} -1
Log Biggest id is ${biggest_id} first free is ${biggest_id+1}