Issue with using context in Java

0
I’m trying to use this.Parameter.getMember(context, “attr__name”) but I get the following error: error: cannot find symbol How am I able to use context in Java?
asked
1 answers
0

If you want to run in the same context that the Java action was called (which you probably do), then it’s just

getContext()


If you need to run as the system you can use

com.mendix.core.Core.createSystemContext()

Hope this helps.

answered