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 / Error at action "Creat...
Power Automate
Unanswered

Error at action "Create_element" at a leave request flow

(0) ShareShare
ReportReport
Posted on by 12

0002.jpgHello,

I have the following problem:

 

I would like to start a leave request flow with approval and forms, but beforehand I would like to make some kind of selection. Here it should be selected whether the approval process "leave request" or "flextime" is started. 

 

The selection works so far, but as soon as it goes into the selection "if yes", the first error occurs when creating an element.

 

Look here:

0004.jpg  0005.jpg

 

How can I fix this error ? 

 

I am grateful for your suggestions.

David

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,181 Most Valuable Professional on at
    Re: Error at action "Create_element" at a leave request flow

    Hi @David_Lf,

     

    I see you used a string value (Urlaubsantrag) in the Hauptgenehmigung Claims field. That Claims suggest it is a person or group type of field.

     

    Normally that type of field expects a value which is in the below format:

    i:0#.f|membership|johndoe@contoso.onmicrosoft.com

     

    Below is an example which combines the first part with the User Principal Name field of a Get User Profile action.

    userprincipalname.png 

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard