Skip to main content

Notifications

Power Automate - General Discussion
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?
  • Purman Profile Picture
    Purman 42 on at
    Re: How can I split in two a Powerapps trigger value?

    Thank you, it's working!

  • Verified answer
    Pstork1 Profile Picture
    Pstork1 64,703 on at
    Re: How can I split in two a Powerapps trigger value?

    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'],','))

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard