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 / How can I split in two...
Power Automate
Answered

How can I split in two a Powerapps trigger value?

(0) ShareShare
ReportReport
Posted on by 42

Hello,

 

I want to split in two, based on a "," my string which arrives from the powerapps button trigger.

 

My value in flow is "Createitem_TestString" which is connected with powerapps, and I want to initalize a variable like 

first(split(triggerBody()?['Createitem_TestString'],',')) but it's not valid.
 
Can you help me what would be the valid expression?
Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    68,898 Most Valuable Professional on at

    It looks like for the triggerBody you don't include the '?' like you do in other variable notation.  This worked for me.

    First(split(triggerBody()['Initializevariable_Value'],','))
  • Purman Profile Picture
    42 on at

    Thank you, it's working!

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 307 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 269 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 115 Super User 2026 Season 1

Last 30 days Overall leaderboard