Book a Demo

Author Topic: Behaviour Parameters default value  (Read 3873 times)

JensG

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Behaviour Parameters default value
« on: May 11, 2013, 08:46:59 am »
I'm new to EA and (still) running the Trial.

According to the docs and according to the template for "WorkFlowScript", the default value for a behaviour property should be accessible through

Code: [Select]
$sValue = %EASL_GET("Property", $GUID, "Value")%

%if $sValue!=""%
"=" $sValue
%endIf%

However, None of my tries to convince the C# template to generate default values for arguments did succeed: The returned value is always empty. After looking for a working example I found the above mentioned "WorkFlowScript" template. Interestingly, this one did not succeed either.

So I'm starting to think whether this may actually a bug, may it be in the EA code or in the documentation.

Any opinions, hints or helpful pointers?


JensG

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Behaviour Parameters default value
« Reply #1 on: May 15, 2013, 07:18:40 am »
Wow, what an overwhelming response. Is my question really that special and complicated? Maybe I should try on http://stackoverflow.com instead?

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Behaviour Parameters default value
« Reply #2 on: May 15, 2013, 09:20:28 am »
Quote
Wow, what an overwhelming response. Is my question really that special and complicated? Maybe I should try on http://stackoverflow.com instead?
Sure, or you could contact Sparx Support using the link at the bottom of this page.
The Sparx Team
[email protected]

JensG

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Behaviour Parameters default value
« Reply #3 on: May 17, 2013, 06:12:54 am »
Sorry, my fault. I took  the "Forums" link listed under "Support" at the bottom of the page for something that was actually intended to be used for Support. Stupid me.