User bio
404 bio not found
Member since Sep 18, 2019
Posts:
Chris has not published any posts yet.
Replies:
Chris Eslinger · May 31, 2022 go to post
Set QueryClass = "GMECC.DocmanConnect.Tables.vwNewGPs"Set QueryName = "GetRows"Set tResult = ##class(%Library.ResultSet).%New(QueryClass_":"_QueryName)
Set tResult.RuntimeMode = 1Set:Params="" status = tResult.Execute()
Set:Params'="" status = tResult.Execute(Params)
Chris Eslinger · Oct 29, 2021 go to post

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)

Chris Eslinger · Oct 29, 2021 go to post

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

Certifications & Credly badges:
Chris has no Certifications & Credly badges yet.
Followers:
Chris has no followers yet.
Following:
Chris has not followed anybody yet.