web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / power automate flow ke...
Power Automate
Unanswered

power automate flow keeps failing for round robin email forwarding

(0) ShareShare
ReportReport
Posted on by 27

HI, 

 

I'm following a tutorial posted online for round robin assignment (https://www.youtube.com/watch?v=Vs0Wd2W2qrI)

and it keeps failing! Any ideas?

 

Unable to process template language expressions in action 'Counter_Initialize' inputs at line '0' and column '0': 'The template language function 'int' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'.

 

mbeans_0-1672175081913.png

 

Categories:
I have the same question (0)
  • grantjenkins Profile Picture
    11,063 Moderator on at
    Re: power automate flow keeps failing for round robin email forwarding

    @mbeans Are you able to show what you have for your Counter initialize? It looks like you're trying to assign a value that's not of type int.


    ----------------------------------------------------------------------
    If I've answered your question, please mark the post as Solved.
    If you like my response, please consider giving it a Thumbs Up.

  • mbeans Profile Picture
    27 on at
    Re: power automate flow keeps failing for round robin email forwarding

    thanks @grantjenkins !  The code view is :

     

    {
        "inputs": {
            "variables": [
                {
                    "name""CurrentCounter",
                    "type""integer",
                    "value""@int(body('GetCounter')?['Value'])"
                }
            ]
        },
        "metadata": {
            "operationMetadataId""3797f562-cfaf-40c8-b2e6-cf3f7d03027a"
        }
    }
    and this is the list:
    countersnip.JPGcountersnip2.JPG
  • Verified answer
    mbeans Profile Picture
    27 on at
    Re: power automate flow keeps failing for round robin email forwarding

    I figured it out! The output from my "get list" didn't update when I changed the values on the actual list. So i had to look the outputs from my "get list" function and saw the even though my list was named "value" the flow was running the old colum name so I had to change the expression from  "value""@int(body('GetCounter')?['Value'])" to  "value": "@int(body('GetCounter')?['OLDCOLUMNNAMETHATIS NOW VALUE'])"

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard