Skip to main content
Nintex Community Menu Bar
Question

How to return result in variable from macro to kryon?

  • Mar 15, 2023 10:25 AM UTC
  • 2 replies
  • 155 views
  • Translate All

Forum|alt.badge.img+2

Hello, I have question about DAC

I use DAC Run macro.

 

I want return TstHiFunc from macro to kryon (code as below)

But I set the macro function return result in variable = TstHiFunc -→ It show blank.

 

value that expect = Helllo

 

Sub Test_Hi_Function()

Dim TstHiFunc As String
TstHiFunc = "Helllo"

End Sub

 

Please guide me for solve it.

 

2 replies

Forum|alt.badge.img+2
  • Author
  • Rookie
  • Jun 19, 2023 5:51 AM UTC
Can anyone recommend for solve it?

 

Thank you

Translate

Forum|alt.badge.img+11
  • Contributor
  • Jun 21, 2023 2:28 PM UTC

Doing a quick google makes it seem like you need to use a function, not a subroutine.  This seems to work for me:

 

Translate