Posts:
Chris has not published any posts yet.
Replies:
Set QueryClass = "GMECC.DocmanConnect.Tables.vwNewGPs"
Set QueryName = "GetRows"
Set tResult = ##class(%Library.ResultSet).%New(QueryClass_":"_QueryName)
Set tResult.RuntimeMode = 1
Set:Params="" status = tResult.Execute()
Set:Params'="" status = tResult.Execute(Params)

Hi Chip,

I believe you need to create a function that extends Ens.Rule.FunctionSet which should then give you the option to select this function within the UI or for usage within the DTL as well depending on your preference of course.  Let me see if I can find an example for you.  Note: I simplified my code to fit closer to your ask, but I did not test it.

Thanks,

Chris

Appendix)

Figure 1) SimplePid3Filter Function call within when clause

Figure 2) SimplePid3Filter function being called via DTL where the return type is As %String (clipped from screenshot)

Hello,

I would double check the spelling as your question and code snippet have different values e.g. "Relation" vs "Relatie".  Generally, I would create and call a custom ObjectScript function to accomplish what you are looking to do as that would allow you greater flexibility and greater control as well in my opinion.

Thanks,

Chris

Followers:
Chris has no followers yet.
Following:
Global Masters badges:
Chris has no Global Masters badges yet.