I'm trying to create a custom connector that will call a webAPI method (CalculateRollupField). I'm following these steps:
Everything works fine and the testing, but when I use it in a flow it gives this error "Fix invalid expression(s) for the input parameter(s) of operation 'CalculateRollupField'"
I tried changing the parameters to required, or pass the parameter with static text but no use.
Hi @Eno ,
Could you please share a bit more about the "Fix invalid expression(s) for the input parameter(s) of operation 'CalculateRollupField'" error within your flow?
Do you mean that the custom connector work well when you test your custom connector?
Based on the blog that you mentioned, I could not find any configuration issue in your custom connector. According to the issue that you mentioned, I think this issue may be related to the value you typed within the @target field in your custom connector action within your flow.
When you type the following value:
within the @target field in your custom connector action within your flow directly, it would be recognized as a object value rather than a Text string value. As an fixed solution, you could consider add a "Initialize variable" action before your custom connector action to store the @target field text value as below:
please consider take a try with above solution, then check if the issue is solved.
Thanks for the reply.
Testing the connector from test tab works fine. And I've already tried using a variable and using compose action and both didn't work.
In addition, we found that the custom connector works if the flow is created in "My Flows". My flow is created inside an unmanaged solution, and even when I created the custom connector inside the solution it didn't work.
Hi @Eno ,
Do you create your flow inside a Solution?
Aha, if you created your flow inside a Solution, I think your issue is related to it. Currently, there are some known limits with the Solutions, please refer to the following article:
Currently, the custom connector created outside the Solution could not work inside a solution. Please consider use your custom connector outside the solution to fix this issue.
If you still want to use the custom connector inside your unmanaged solution, please consider re-create your custom connector in your solution as below:
then try your custom connector in canvas app inside the solution, check if the issue is solved.
Note: There are also some unknown issue with custom connector inside Solution, as a better solution, please use your custom connector outside a solution.
I'm experiencing exact same issue. Testing works but Flow shows error in parameter - invalid expression.
Nothing appears to be working. It's annoying that unable to update roll-ups before executing next step of flow.
We're excited to announce our first cross-community 'Can You Solve These?' challenge!
Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.
We are excited for the next Super User season.
FIll out a quick form to claim your community user group member badge today!
Features releasing from October 2020 through March 2021