Documentation for calling an Epicor function with Automation Studio?

Does anyone have any documentation or examples of how to properly invoke an Epicor Function passing in input parameters and then doing something with response parameters inside Epicor Automation Studio? I know it’s supported but I haven’t been able to find an example of the proper syntax or method to do so. Thanks.

1 Like

Just use the widget. Its drag and drop.

Once you select the function, the parameter inputs will appear. Then you just drop your data pills like any other recipe in automation studio.

1 Like

Thanks. I started with that and it worked for the inputs but I couldn’t figure out how to get the response parameters from that function and then use them downstream. Any idea how? Appreciate it.

What is the output signature of your function?

For testing I just made a function with 2 Request Parameters (1 string and 1 int) and then 2 ResponseParameters of the same data types. The function is just setting the input to the output for a quick test. I just want to access the values of Output1 and Output2, but I’m not sure in automation studio how I’m supposed to retreive those values. Like what object am I supposed to put after the “Execute Print Test in Epicor Kinetic” step that calls the Epicor function?


Show the details on that action

I think I figured it out where I can just return a standard rest response. But the issue I’m getting at the moment is that sometimes the pill options are just not available. In the image below the pill for Input1 showed up but won’t show up for Input2. Unsure if there’s a way to force it to show.

What previous step in your recipe are you using to set the value of input 2?

1 Like