I'm new and doing the training and exercises modules. One of the exercises was the "Defining Logic Exercise", and all went well until the Factorial section.
I did the steps as mentioned in the exercise (https://www.outsystems.com/training/lesson/1936/defining-logic-exercise?LearningPathId=18), but I got an error "Can't Identify 'CalcFactorial' element in expression."
Thank you
Guilherme
Hello Guilherme,
It looks like you made a typo.
You named the action "CalcFatorial" but in the message you call it with "CalcFactorial" (the "c").
If you change the name of the server action to "CalcFactorial" or change the name in the message to "CalcFatorial" it should work.
Hope this helps
Ohhh,
Now its solved
Thank you Mika!
Hi Guilherme,I guess you might have copied the expression from the training tutorial, Could you just remove the "Calfactorial.result" from the expression and Again select it from the action.Like highlighted in Below image.
Hope it Helps,ThanksN_G
Hello,
i have named the action "CalcFatorial" but in the message you call it with "CalcFactorial" (the "c")
Now its solved,
btw,
Okay, Great that Your issue is resolved, Just for the future reference if you again face similar kind of issue, Instead of typing the action name ,try to select the expression from the action itself, it will reduce the chance of any typo issue.
Thanks