Hello,
I am having troubles when creating a flow.
The flow work perfectly when there is a value stored in the sharepoint list field.
However when the field is blank it won't update the excel list as blank, it keeps the last stored value in the spreadsheet.
I found out it returned me a null value, so I was thinking to add a if function to check wether it is null then '' if not then update the row and cell in the spreadsheet with the new value stored in the sharepoint list. However when I use the If syntax it returns '' even when there is a value stored in the sharepoint list field. See below for more (visual) information.
Expression:
if(equals(triggerBody()?['Club'],''),'',triggerBody()?['Club'])<br />
Solved! Go to Solution.
Does is also work when leaving the field empty on sharepoint, and so on the spreadsheet get updated blank as well?
For me it did not, but I found the solution.
Not using the column name I gave it on sharepoint, but using the column name sharepoint gave the column name.
So:
if(equals(triggerBody()?['Club'],''),'',triggerBody()?['Club'])
Is now:
if(equals(triggerBody()?['OData__x006a_ow5'],''),'',triggerBody()?['OData__x006a_ow5'])
I changed 'Club' into 'OData__x006a_ow5'
Hi @Nickhubers1988,
However, I tested it on my side not happen the same issue. And the type of Number column is number, I also tested string, and it also worked. What's the type of column you are testing?
SharePoint List:
Flow:
Run result:
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Does is also work when leaving the field empty on sharepoint, and so on the spreadsheet get updated blank as well?
For me it did not, but I found the solution.
Not using the column name I gave it on sharepoint, but using the column name sharepoint gave the column name.
So:
if(equals(triggerBody()?['Club'],''),'',triggerBody()?['Club'])
Is now:
if(equals(triggerBody()?['OData__x006a_ow5'],''),'',triggerBody()?['OData__x006a_ow5'])
I changed 'Club' into 'OData__x006a_ow5'
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
3 | |
3 | |
3 | |
2 | |
1 |
User | Count |
---|---|
11 | |
11 | |
6 | |
6 | |
5 |