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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerApp to PowerAutom...
Power Apps
Unanswered

PowerApp to PowerAutomate - sending null value to PowerApps

(0) ShareShare
ReportReport
Posted on by 33

HI All, successfully integrated my powerapp with power automate.  This power automate now runs when the user updates a record, in additional to updating the edited record in sharepoint list A, it also updates 2 fields in sharpeoint list B.  

 

The key between the two lists is Asset ID - no issue there.

The second value is sharepoint list A's list ID into related field in sharepoint list B - no issue there.

The third value is a string value.  This value can be null, this is where the issue is.   This value is updated in sharepoint list B only when it's not null.  When it's null, it throws an error.  The flow is not expecting a null for the variable.

 

How can I adjust this so that a null value will be accepted by the flow?  The field in shareoint list B is not required and null is a valid value.  Not sure if i need to fix in before triggering the flow or handle it in the flow itself.

 

Thanks in advance.

 

 

Categories:
I have the same question (0)
  • naono Profile Picture
    33 on at

    How about using the empty function to determine if it's null?

    Or how about scoping the error and ignoring it?

     

    This is an article in Japanese, but I'll paste the reference URL. Please do your best.

    MicrosoftFlowでの空白判定のやり方 | ~UNRULY~気ままなブログ (lawless098.com)

    Power Automateの例外処理は「スコープ」で行う | 仕事のあれこれ (ippu-biz.com)

  • MariaK5 Profile Picture
    33 on at

    I know the value is null, how do you scope the error and ignore it?

    Think link is in japanese, sorry not one of my languages LOL.  Any further help appreciated.

  • naono Profile Picture
    33 on at

    Power Automate has a scope connector. You can use it like Try-Catch-Filnally.

     

    As you may know, Try-Catch-Filnally is explained as follows. The place where the error may occur is enclosed in Try, and the processing when the error occurs there is written in Catch. Then, the process to be done whether an error occurs or not is written in Finally.

     

    I'm sorry that this is also a Japanese article, but I'll paste the reference URL.

     

    Power Automate 「スコープ(コントロール)」アクション | 誰でもできる業務改善講座 (sekenkodqx.jp)

  • MariaK5 Profile Picture
    33 on at

    Still need help.  I don't know c either.  Need simple solution for flow to be able to process a null.

  • MariaK5 Profile Picture
    33 on at

    actually found a way to do this. not ideal, but i will save a dummy value then run another flow to wipe out the dummy values after they are saved.

  • naono Profile Picture
    33 on at

    Sorry I can't be of any help.

    I tried to register an empty variable in the list, but I couldn't reproduce the same phenomenon.

    Maybe I am not understanding what kind of flow you are creating.

     

    The following article describes how to check for Null in Power Automate. Isn't it helpful?

    Solved: Check Field Value Null - Power Platform Community (microsoft.com)

    スクリーンショット 2022-02-11 075318.png
  • Heartholme Profile Picture
    1,278 Super User 2024 Season 1 on at

    Try this: 

     

    https://powerpostal365.com/2023/10/04/how-to-handle-null-data-when-passing-json-objects-from-flow-to-powerapps/

     

    ✔ Marking my post as a solution not only confirms that your question has been answered, but also helps others find solutions to similar problems.
    By doing so, you'll be making a valuable contribution to the community.

    Best Regards
    Heartholme

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 762

#2
11manish Profile Picture

11manish 640

#3
Valantis Profile Picture

Valantis 548

Last 30 days Overall leaderboard