Hi everyone!
I'm completely new with power automate and I'm hoping someone might be able to help.
I have created a flow button, and I have added 1 required field and 2 optional fields (Details is a multiselect list and Remarks is text input). When they submit, a new item will be created in SharePoint list and post a message to the teams channel.
The flow fails when they keep the optional fields empty. It is not necessary to make these fields required because the user might not add remarks and maybe he might add some information.
Anyone able to give a step by step advice on how I can solve this?
For eg. After manually trigger a flow, is there an action I would be able to use?
Hi @Starlight24 ,
Please click icon show as follows, when here show Make the field required, this Multi-select list of options will be optional filed.
Image reference:
Hope this helps.
Best Regards,
Hi @Starlight24 ,
Do you mean that you use the output of the trigger to configure the following action, but the output of the trigger is empty, so the action fails?
Maybe you could use empty() function or Condition control to check if the output of trigger is empty.
Please provide the screenshot of flow configuration or more details so that we could provide a proper workaround for you.
Best Regards,
Dear v-bacao-msft,
Thank you for your reply.
I have set the field to optional for my remarks option.
And i have attached the flow as follows.
However, when I run the button while leaving Remarks blank, this error message appears:
I saw posts about the coalesce function?
However I'm not sure how to write the expression and which part should I enter it in.
Hi @Starlight24 ,
Please try to use Condition to check if Remarks is empty.
If no, fill this Dynamic content in Create item action, if yes, don’t configure Remark field.
Image reference:
Hope this helps.
Best Regards,
I had the same problem and I found in another thread this blog post, that helped me:
User | Count |
---|---|
89 | |
37 | |
26 | |
13 | |
12 |
User | Count |
---|---|
127 | |
54 | |
38 | |
26 | |
21 |