Hoppa till huvudinnehållet

Which engine is used to run mobile and server-side workflows

Kommentarer

6 kommentarer

  • Ken Lyon

    Hi Berend,

     

    Workflow Server runs in .NET Core v2.1. We're planning to upgrade to v3.1 at some point in the near future.

    0
  • Berend Veldkamp

    Rereading my question I think I could have been clearer. I was thinking about the Javascript part of a server workflow. Say I have a Create Value activity with Expression:

    ="Hello World".substr(6)

    How is 'substr' parsed?

    0
  • Ken Lyon

    Hi Berend,

     

    The .NET version of Workflow uses a library called Jint, which evaluates the entire expression as JavaScript. In your example, the "substr" method is recognized by jint.

     

    There are more advanced cases as well which we have custom code to handle, but the short answer is that we use Jint.

    0
  • Berend Veldkamp

    Thanks, that's very useful.

    0
  • Jack Zhang

    Hi Ken Lyon, thanks for the info about JINT. I'm new to Workflow development for mobile and server. I see  in the workflow designer, by setting the deployment environment to VertiGIS Mobile it will filer out all non-compatiable Activities for running on mobile. However, it won't highlight any compatibility issue about the expression, just like examples Berend had. Is there a way to improve the user experience, so we don't have to debug the issues on server-side or mobile-end, which is usually not very convenient. thank you.

    0
  • Ken Lyon

    Jack Zhang We're working up updating this to have Mobile support the same syntax as Typescript.

    0

Du måste logga in om du vill lämna en kommentar.