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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Unable to process temp...
Power Automate
Unanswered

Unable to process template language expressions in action 'Create_item'... inputs at line '0' and column '0': 'The template function 'either' is not defined or not valid.'.

(0) ShareShare
ReportReport
Posted on by 20

Am trying a new type of flow where after a new SharePoint list entry is added (which collates responses from a Form), two separate SharePoint list entries are generated which extrapolates certain fields (so, for example, we have multi-select questions in the form and that spits out a single string with all items selected; the extrapolation I'm looking to achieve looks for whether each potential tickbox item is present in the output and generates an individual binary variable for each (e.g., for a string showing all feedback methods used, I have a variable for whether or not Feedback Method A is listed, then Method B...). 

 

To complicate matters, there are multiple versions of each question so I'm using expressions to determine what to inspect, so there's a lot of 'if' statements, and a few include 'either', 'and' or 'not'. I assume this is what is being referred to with the following error message, emphasis added: 

 

Unable to process template language expressions in action 'Create_item:_Assessment_and_Accessibility_Extrapolation' inputs at line '0' and column '0': 'The template function 'either' is not defined or not valid.'.

 

Tried looking at similar community posts but not seeing any that are specific to the 'either' function; the ones looking at other functions aren't helping (there's a lot of date/time format which don't appear to relate); and some are providing JSON output which I'm not seeing. 

 

Help please! 

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @SimonLavisUOS,

     

    Like the error states, either is not an available function.

     

    In the expression language of Power Automate these are the logical comparison functions available:

    https://learn.microsoft.com/en-gb/azure/logic-apps/workflow-definition-language-functions-reference#logical-comparison-functions

     

     

  • SimonLavisUOS Profile Picture
    20 on at

    This is embarrassing... I've conflated the 'or' function with the word 'either'. I couldn't understand the problem, but it's just that simple. Thanks @Expiscornovus! I'm going to go be embarrassed in the corner...

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard