Created
October 19, 2021 06:00
-
-
Save heijmerikx/35c9c149365a8cdd6e186023464b2d6e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MyFunctionRequest req = new MyFunctionRequest(); | |
req.inputPropertyOne = false; | |
req.inputPropertyTwo = ’String value’; | |
String jsonconfig = JSON.serialize(req); | |
Functions.Function myFunction = Functions.Function.get('MyNamespace.myFunction'); | |
Functions.FunctionInvocation invocation = myFunction.invoke(jsonconfig); | |
String jsonResponse = invocation.getResponse(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment