Skip to main content

Run a Function activity

Not planned

Comments

3 comments

  • Berend Veldkamp

    You already can, sort of. It depends a bit on what exactly you need.


    An example: Use the Create Value activity, name it 'square' and set its value to =function(x){return x * x}

    Calling the function: =$square.result(3)

    1
  • Byju Geevarghese

    Berend Veldkamp I could not verify your promising suggestion in a workflow of a mobile app. Can you tell me in which workflow environment you might have employed such a reuse of JavaScript function code? Reusing same code from many places in a workflow is a must to have feature. Hope many users will upvote for this facility in workflows. Thanks to Davood Kazemi for posting this idea here!

    0
  • Berend Veldkamp

    Byju Geevarghese I have only tried this in Web, and it wouldn't surprise me if it works differently in Mobile.

     

    Since version 2.29, there is a Subworkflow activity, but that's also not available in Mobile (yet?).

    0

Please sign in to leave a comment.