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 / Branching Form Structu...
Power Automate
Answered

Branching Form Structure Causes Null Error

(0) ShareShare
ReportReport
Posted on by 6

Hi all,

Currently trying to create a tracker for security badge access requests.  When a new response is submitted (MSForms)>Get details (MSForms)>JSON(outputs for AddAccess column, etc)>JSON(outputs for RemoveAccess column, etc)>Create Item (Sharepoint List) with Outputs assigned to the multiple selection questions for Areas Added or Areas Removed.

 

My trouble comes because of a branching question in the form that either leads to the Add Access Column or the Remove Access Column (this is binary - can only be one or the other). When I run the flow, if I choose Add Access, the Remove Access JSON(...) throws a NULL error. If I choose Remove Access, the Remove Access JSON(...) throws a NULL error. One or the other is expecting an array and not getting it. Is there a way to solve this? I appreciate any help.

Categories:
I have the same question (0)
  • Verified answer
    Matthy79 Profile Picture
    4,180 Super User 2024 Season 1 on at

    Hello @dormire01 

     

    I think the flow will do different things if you choose add or remove. So check for that value and if it goes left the one array will be usable and if it goes right the other array will be usable. If both does the same you could use coalesce with both arrays and will get the one that is not null.

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

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard