Hi,
I'm creating a power automate flow in which, starting from a document on Sharepoint, I have to send this document to Adobe Sign for signature, whose signatories are inserted in a form on Microsoft Forms. My flow is:
- variables is a matrix inizialized as empty list
- Compose is
- ParseJson is :
- Append to array variable is: (it doesn't work)
- Apply to each is:
The error is :
Can you help me to solve this problem?
There is only a single field into form like this in which user can digit 'email1@gmail.com,email2@gmail.com':
Thanks in advance,
Emilia
@Emilia96 The Compose action indicates the output of the form is in a multi-choice selection (highlighted in pink below), and not a string (highlighted in green below).
For that reason, you need to parse your response. Refer to this section of my YT Tutorial where I cover how to parse a multi-choice response. In the full tutorial, I’ll show you how to get your Microsoft Form responses into SharePoint. I’ll cover how to build a Microsoft form with conditional fields by using branching.
You’ll learn how to format your multiple choice responses for a SharePoint multi-choice column as well as converting it to text. I’ll also show you how to take a text response and convert it to a number with a switch action and with an expression.
After adding the response to SharePoint, we’ll send the user an email confirmation with all the details of their form submission.
At the end of the video I’ll show you a few tips and tricks on working with a SharePoint list.
IN THIS VIDEO:
✅ How to get a Microsoft Form Response into SharePoint
✅ How to get a Microsoft Form ID
✅ How to get a Microsoft Form response
✅ How to Build a Microsoft Form with Conditional Fields
✅ How to used Branching in Microsoft Forms
✅ How to format Microsoft Form multiple choice responses for a SharePoint multi-choice column
✅ How to parse a Microsoft Form multiple choice response as string of text
✅ How to convert a text response to a number
✅ How to use the Switch action
✅ How to create a custom email confirmation for a Microsoft Form submission
✅ How to Create a Custom View in a SharePoint list
✅ How to use the Compose Action
✅ How to write Power Automate Expressions
The input of split() function is :
After Compose action I have these step:
@Emilia96 Can you provide additional insights on your flow. What is the output from the form that you are using the split() function on? What action do you have after the Compose action?
Hi @creativeopinion , @Inogic
I have edited the flow following your answers, but I haven't solved my problem.
The changed flow now looks like this:
split function is:
Where am I wrong? Thanks in advance.
Hi,
In the step of appending a value to an array variable, the expression you have entered is not supposed to be used there. In the variable step, you should use a string value instead.
For the expression in the variable, you need to follow as shown in the screenshot provided. The correct way to enter the expression would be:-
Hope this helps.
Thanks!
@Emilia96 You have a string entered here not an expression. Take a look at this section of my YT Tutorial:
7 Functions You Need to Know | ⚡️Expression Essentials: Part 1⚡️
In this section, I'll cover how to get dynamic content with an expression when the dynamic content you need isn't listed in the dynamic content menu.
In the full tutorial I cover 7 functions you need to know when getting started with expressions.
1️⃣ empty()
2️⃣ coalesce()
3️⃣ equals()
4️⃣ if()
5️⃣ concat()
6️⃣ length()
7️⃣ split()
I cover how to use these functions in expressions and I’ll also cover common mistakes when it comes to writing expressions and show you a few tips and tricks along the way.
As a beginner or even an intermediate flow builder—expressions can seem a bit complex at first, I’m going to try to simplify it for you. If you want to level up your flows by writing expressions—keep watching!
IN THIS VIDEO:
✅ What is an Expression?
✅ What is a Function?
✅ What Does Wrapping a Function Mean?
✅ How Do I Insert an Expression?
✅ How to Use a Compose action
✅ How to Navigate the Expression Builder with Arrow Keys
✅ How to use the Expression Tooltip
✅ Common Mistakes When Writing Expressions
✅ How to differentiate a null from an empty string
✅ How to Get Dynamic Content When it’s Not Listed
✅ How to Use a Get Item Action to Verify Dynamic Content Output
✅ How to Convert Strings to Lower Case
✅ How to Troubleshoot the if() Function
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional