|
@@ -635,7 +635,6 @@ Void function user_function_skip_init(user_id : String):
|
|
|
else:
|
|
|
output("Could not resolve intermediate merged metamodel")
|
|
|
elif (exact_type == "ActionLanguage"):
|
|
|
- Element action_model
|
|
|
Element dictionary
|
|
|
Element input_keys
|
|
|
Element output_keys
|
|
@@ -645,15 +644,14 @@ Void function user_function_skip_init(user_id : String):
|
|
|
|
|
|
log("Action Language execution starts!")
|
|
|
log("Getting full model for transformation")
|
|
|
- action_model = get_full_model(transformation_id)
|
|
|
- log("Got model: " + cast_e2s(action_model))
|
|
|
+ log("Got model: " + cast_e2s(read_attribute(core, transformation_id, "location")))
|
|
|
|
|
|
// 1) Group source models in dictionary
|
|
|
// --> This is just the "inputs" variable
|
|
|
log("Create inputs")
|
|
|
|
|
|
// 2) Execute action language model
|
|
|
- func = get_func_AL_model(action_model)
|
|
|
+ func = get_func_AL_model(read_attribute(core, transformation_id, "location"))
|
|
|
log("Ready to execute: " + cast_e2s(func))
|
|
|
result = func(inputs)
|
|
|
log("Result: " + cast_e2s(result))
|