Hello,
I have an issue with my app where 1) when other users are trying to run the app - they are seeing this message about the Encodian connection when running the app - the connection for this is shared to a security group that the users are a member of - I have also tested this with an independent user account but annoyingly experiencing same issue.

As Encodian support has suggested, they asked me to remove the flow from my app and re-add it - having done so, I am seeing the below on my button fx in the app

This was working for my own account before I removed the flow and added it back into the app as you can see from the below:

My flow is setup as below:




Concat (HTML data) - for the below Encodian action
concat('<!DOCTYPE html>
<html>
<body>
<table style="width: 100%;">
<tr>
<td>
',triggerBody()['text'],'
</td>
</tr>
<tr>
<td>
<img src="',outputs('Compose_-_Photo_to_base64'),'" />
</td>
</tr>
<tr>
<td>
',triggerBody()['text_3'],'
</td>
</tr>
<tr>
<td>
',outputs('Compose'),'
</td>
</tr>
<tr>
<td>
',triggerBody()['text_4'],'
</td>
</tr>
</table>
</body>
</html>')



In my app, I am using the following HTML text controls which use html as follows - these are the ones that are referenced in the .Run button Fx:
htmlBody_1
"
<h2><font color=blue>BUILDING SAFETY CASE REPORT HEADINGS</font></h2>
<h3>COVER PAGE</h3>
• Name and address of property: "&LookUp(Buildings,Title=varItem.spBuilding).Title & ", " &LookUp(Buildings,Title=varItem.spBuilding).Address &"<br>
• National UPRN: "&LookUp(Buildings,Title=varItem.spBuilding).NatUPRN & "<br>
• LiveWest UPRN: "&LookUp(Buildings,Title=varItem.spBuilding).CxUPRN & "<br>
• BSR Code: "&LookUp(Buildings,Title=varItem.spBuilding).BSRAppNo & "<br>
"
htmlBody_2
"
<h3>CONTENTS PAGE</h3>
<h3>1. DOCUMENT CONTROL AND EXECUTIVE SUMMARY</h3>
1.1. Document control table: Test data<br>
1.2. Executive summary with overarching claim, argument, and RAG rating<br><br>
<h3>2. GENERAL INFORMATION</h3>
2.1. Building name and address: "&LookUp(Buildings,Title=varItem.spBuilding).Title & ", " &LookUp(Buildings,Title=varItem.spBuilding).Address &"<br>
2.2. Location and site description<br>
2.3. Relevant persons<br>
2.3.1. Building owner: "&LookUp(Buildings,Title=varItem.spBuilding).'Building Owner' & "<br>
2.3.2. Accountable person: "&LookUp(Buildings,Title=varItem.spBuilding).'Principal Accountable Person' & "<br>
2.3.3. Other accountable persons: "&LookUp(Buildings,Title=varItem.spBuilding).'Other Accountable Persons' & "<br>
2.3.4. Responsible persons<br>
2.3.4.1. Head of Building Safety: "&LookUp(Buildings,Title=varItem.spBuilding).'Head of Building Safety' & "<br>
2.3.4.2. Fire Safety Manager: "&LookUp(Buildings,Title=varItem.spBuilding).'Responsible Persons Under Fire Safety' & "<br>
2.3.4.3. Other responsible persons: "&LookUp(Buildings,Title=varItem.spBuilding).'Other Responsible Persons' & "<br>
2.4. The building<br>
2.4.1. Description of the building: "&LookUp(Buildings,Title=varItem.spBuilding).'Category of Provision' & "<br>
2.4.2. Design and construction: Test data<br>
2.4.3. Refurbishments: Test data<br>
2.4.4. Additional photos: Test data<br>
"
htmlBody_3
"
2.4.5. Floor plans: Test data<br>
2.4.6. Elevation plans: Test data<br>
2.4.7. Description of the site: Test data<br>
2.4.8. Site plan and map: Test data<br>
2.4.9. Utilities: Test data<br>
2.4.10. Resident profile: Test data<br>
<table>
"&
Concat(colSubtopics,
"<tr><td><H3>"& Order+2 &" " & Value&"</H3>
<table>
<tr><td><b>Claim</b></td></tr>
<tr><td>"&LookUp(TopicsClaims,Building=varItem.spBuilding).Claim&"</td?></tr>
"
&
Concat(Filter(colAllSubtopics,TopOrder=Order+2),
"<tr><td><H4>"& SubTopOrder & " " & SubTop &"</H4></td></tr>
<tr><td><b>Argument</b></td></tr>
<tr><td>"&Arg&"<br><br></td></tr>
<tr><td><b>Evidence</b></td></tr>
<tr><td>"&Evid&"<br><br></td></tr>
"
)
&
"
</table>
</td></tr>"
)
&"
</table>
<h3>"& Value(Last(colSubtopics).Order+3) &". ONGOING WORKS AND IMPROVEMENTS (all free text)</h3>
"& Value(Last(colSubtopics).Order+3) &".1. External wall remediation programme<br>
"& Value(Last(colSubtopics).Order+3) &".2. Fire Risk Assessment actions<br>
"& Value(Last(colSubtopics).Order+3) &".3. Fire door works<br>
"& Value(Last(colSubtopics).Order+3) &".4. Internal compartmentation works<br>
<h3>"& Value(Last(colSubtopics).Order+4) &". THE BUILDING SAFETY CASE (all free text)</h3>
"& Value(Last(colSubtopics).Order+4) &".1. How evidence is provided for the Building Safety Case Report<br>
<h3>"& Value(Last(colSubtopics).Order+5) &". REVIEWING AND UPDATING THE BUILDING SAFETY CASE AND REPORT</h3>
<h3>"& Value(Last(colSubtopics).Order+6) &". CLOSING STATEMENT AND SIGN OFF BOX</h3>
<br><br>
<b>Cover Page</b> <br><br>
<table border='1' style='border: 1px solid black; border-collapse: collapse'>
<tr><td width='200px'>DATE OF REPORT:</td><td width='450px'>"&Text(Today(),"dd/mm/yyyy")&"</td></tr>
<tr><td>VERSION:</td><td>1.0</td></tr>
<tr><td>BSR CODE:</td><td>"&LookUp(Buildings,Title=varItem.spBuilding).BSRAppNo&"</td></tr>
<tr><td>NATIONAL UPRN:</td><td>"&LookUp(Buildings,Title=varItem.spBuilding).NatUPRN&"</td></tr>
<tr><td>LIVEWEST UPRN:</td><td>"&LookUp(Buildings,Title=varItem.spBuilding).CxUPRN&"</td></tr>
<tr><td>PREPARED BY:</td><td>"&varItem.'Created By'.DisplayName&"</td></tr>
<tr><td>APPROVED BY:</td><td>Test data</td></tr>
</table>
<br><br>
<b>Version Control</b> <br><br>
<table border='1' style='border: 1px solid black; border-collapse: collapse'>
<tr style='background-color:#efefef'><th>Version</th><th>Date</th><th>By Whom?</th><th>Reason</th></tr>
<tr><td width='100px' style='text-align:center'>1.0</td><td width='100px' style='text-align:center'>"&Text(Today(),"dd/mm/yyyy")&"</td><td width='200px' style='text-align:center'>"&varItem.'Created By'.DisplayName&"</td><td width='250px'>Test data</td></tr>
</table>
"
This is the full Fx code I have on my flow run button:
Set(varItem,ThisItem);
Set(varBuildingPhoto,LookUp(BuildingPhotos,Title=ThisItem.spBuilding).'Link to item');
Set(varBuildingPhotoID,LookUp(BuildingPhotos,Title=ThisItem.spBuilding).ID);
// THIS INCLUDES ALL THE TOPIC HEADERS
ClearCollect(colSubtopics1, Distinct(Filter(SubtopicArgEvi_1,Building=varItem.spBuilding),Topic));
// THIS IS THE DISTINCT COLLECTION OF ORDER OF TOPICS
ClearCollect(colSubtopics, ForAll(Sequence(CountRows(colSubtopics1)), Patch(Last(FirstN(colSubtopics1,Value)),{Order:Value})));
ClearCollect(colTempAllSubtopics, AddColumns(Filter(SubtopicArgEvi_1,Building=varItem.spBuilding),"TopicOrder",0,"SubtopicOrder",0));
Clear(colTempAllSubtopicsB);
ForAll(colTempAllSubtopics, Collect(colTempAllSubtopicsB, {
Top: colTempAllSubtopics[@Topic],
SubTop: colTempAllSubtopics[@Subtopic] & " - " & colTempAllSubtopics[@'Subtopic Breakdown'],
Arg: colTempAllSubtopics[@Argument],
Evid: colTempAllSubtopics[@Evidence],
TopOrder: LookUp(colSubtopics,Value=colTempAllSubtopics[@Topic]).Order+2
}));
Clear(colAllSubtopics);
Collect(colAllSubtopics, ForAll(Sequence(CountRows(Filter(colTempAllSubtopicsB, TopOrder=3)), 3.1, 0.1), Patch(Last(FirstN(Filter(colTempAllSubtopicsB, TopOrder=3), Value)), {SubTopOrder: RoundUp(Value, 2)})));
Collect(colAllSubtopics, ForAll(Sequence(CountRows(Filter(colTempAllSubtopicsB, TopOrder=4)), 4.1, 0.1), Patch(Last(FirstN(Filter(colTempAllSubtopicsB, TopOrder=4), Value)), {SubTopOrder: RoundUp(Value, 2)})));
Collect(colAllSubtopics, ForAll(Sequence(CountRows(Filter(colTempAllSubtopicsB, TopOrder=5)), 5.1, 0.1), Patch(Last(FirstN(Filter(colTempAllSubtopicsB, TopOrder=5), Value)), {SubTopOrder: RoundUp(Value, 2)})));
Collect(colAllSubtopics, ForAll(Sequence(CountRows(Filter(colTempAllSubtopicsB, TopOrder=6)), 6.1, 0.1), Patch(Last(FirstN(Filter(colTempAllSubtopicsB, TopOrder=6), Value)), {SubTopOrder: RoundUp(Value, 2)})));
Collect(colAllSubtopics, ForAll(Sequence(CountRows(Filter(colTempAllSubtopicsB, TopOrder=7)), 7.1, 0.1), Patch(Last(FirstN(Filter(colTempAllSubtopicsB, TopOrder=7), Value)), {SubTopOrder: RoundUp(Value, 2)})));
Collect(colAllSubtopics, ForAll(Sequence(CountRows(Filter(colTempAllSubtopicsB, TopOrder=8)), 8.1, 0.1), Patch(Last(FirstN(Filter(colTempAllSubtopicsB, TopOrder=8), Value)), {SubTopOrder: RoundUp(Value, 2)})));
Collect(colAllSubtopics, ForAll(Sequence(CountRows(Filter(colTempAllSubtopicsB, TopOrder=9)), 9.1, 0.1), Patch(Last(FirstN(Filter(colTempAllSubtopicsB, TopOrder=9), Value)), {SubTopOrder: RoundUp(Value, 2)})));
Collect(colAllSubtopics, ForAll(Sequence(CountRows(Filter(colTempAllSubtopicsB, TopOrder=10)), 10.1, 0.1), Patch(Last(FirstN(Filter(colTempAllSubtopicsB, TopOrder=10), Value)), {SubTopOrder: RoundUp(Value, 2)})));
// THIS TRIGGERS THE WORKFLOW
'BSC-PowerApps'.Run(htmlBody_1.HtmlText,varBuildingPhoto,Now(),varBuildingPhotoID,htmlBody_2.HtmlText,htmlBody_3.HtmlText,varItem.ID)
Any thoughts as to what is wrong here?