Again thanks for the grate help,, but seems this approach will not allow us to capture the error message if the action which failed is inside a Condition, here what i have and the action that got failed:-
here is the `result('Scope')` it only mention about Condition-4 and not its actions:-
[
{
"name": "Condition",
"inputs": {
"expressionResult": true
},
"startTime": "2024-12-06T23:57:41.415188Z",
"endTime": "2024-12-06T23:57:41.8997307Z",
"trackingId": "3c13d375-97b7-471b-bc6a-210562b7ec35",
"clientTrackingId": "08584680774398372982560517551CU122",
"status": "Succeeded"
},
{
"name": "Get_item-RefreshInfo",
"inputs": {
"host": {
"apiId": "subscriptions/17aa0056-4c1a-4ef0-8fb5-915a677afc95/providers/Microsoft.Web/locations/westeurope/runtimes/europe-001/apis/sharepointonline",
"connectionReferenceName": "shared_sharepointonline_1",
"operationId": "GetItem"
},
"parameters": {
"dataset": "***Sales",
"table": "bf2bb131-dc11-4ef2-9671-0e407830aa43",
"id": 3020
}
},
"outputs": {
"statusCode": 200,
"headers": {
"Cache-Control": "max-age=0, private",
"Transfer-Encoding": "chunked",
"Vary": "Origin,Accept-Encoding",
"X-NetworkStatistics": "0,525568,0,0,53,0,24440,13",
"X-SharePointHealthScore": "3",
"X-MS-SPConnector": "1",
"X-SP-SERVERSTATE": "ReadOnly=0",
"DATASERVICEVERSION": "3.0",
"SPClientServiceRequestDuration": "123",
"SPRequestDuration": "124",
"X-DataBoundary": "EU",
"X-1DSCollectorUrl": "https://eu-mobile.events.data.microsoft.com/OneCollector/1.0/",
"X-AriaCollectorURL": "https://eu-mobile.events.data.microsoft.com/Collector/3.0",
"SPRequestGuid": "f1bd6cfe-f1bc-4ab3-b7aa-10895837b26a",
"request-id": "f1bd6cfe-f1bc-4ab3-b7aa-10895837b26a",
"MS-CV": "oWsJU9FwAKC6dsySblbkeA.0",
"Alt-Svc": "h3=\":443\"",
"Strict-Transport-Security": "max-age=31536000",
"X-Frame-Options": "SAMEORIGIN",
"Content-Security-Policy": "frame-ancestors 'self' teams.microsoft.com *.teams.microsoft.com *.skype.com *.teams.microsoft.us local.teams.office.com teams.cloud.microsoft *.office365.com goals.cloud.microsoft *.powerapps.com app.powerbi.com *.yammer.com engage.cloud.microsoft word.cloud.microsoft excel.cloud.microsoft powerpoint.cloud.microsoft *.officeapps.live.com *.office.com *.microsoft365.com *.stream.azure-test.net *.microsoftstream.com *.dynamics.com *.microsoft.com onedrive.live.com *.onedrive.live.com securebroker.sharepointonline.com;",
"MicrosoftSharePointTeamServices": "16.0.0.25506",
"X-Content-Type-Options": "nosniff",
"X-MS-InvokeApp": "1; RequireReadOnly",
"P3P": "CP=\"ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI\"",
"X-AspNet-Version": "4.0.30319",
"X-Powered-By": "ASP.NET",
"x-ms-environment-id": "default-afe6e33c-1b2a-41e5-a7e9-9128ddcf79bf",
"x-ms-tenant-id": "afe6e33c-1b2a-41e5-a7e9-9128ddcf79bf",
"x-ms-dlp-re": "-|-",
"x-ms-dlp-gu": "-|-",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "true",
"x-ms-apihub-obo": "false",
"Date": "Fri, 06 Dec 2024 23:57:41 GMT",
"Content-Type": "application/json; charset=utf-8",
"Expires": "Thu, 21 Nov 2024 23:57:42 GMT",
"Last-Modified": "Fri, 06 Dec 2024 23:57:42 GMT",
"Content-Length": "2905"
},
"body": {
"@odata.etag": "\"4\"",
"ItemInternalId": "3020",
"ID": 3020,
"Tilbudsnummer1": 1009,
"Customer": {
"@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
"Id": 1,
"Value": "Siemens BRA"
},
"Customer#Id": 1,
"Project_x0020_name": "9001",
"State": {
"@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
"Id": 2,
"Value": "Completed"
},
"State#Id": 2,
"S_x00e6_lger": {
"@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
"Claims": "i:0#.f|membership|***",
"DisplayName": "Robotic Process Automation",
"Email": ***",
"Picture": "***Sales/_layouts/15/UserPhoto.aspx?Size=L&AccountName= ***"
},
"S_x00e6_lger#Claims": "i:0#.f|membership| ***",
"Assigned_x0020_to": {
"@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
"Claims": "i:0#.f|membership| ***",
"DisplayName": "Robotic Process Automation",
"Email": " ***",
"Picture": "***Sales/_layouts/15/UserPhoto.aspx?Size=L&AccountName= ***"
},
"Assigned_x0020_to#Claims": "i:0#.f|membership| ***",
"Status": {
"@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
"Id": 2,
"Value": "Won"
},
"Status#Id": 2,
"Production_x0020_number": "P5019",
"Modified": "2024-12-06T23:56:11Z",
"Forventet_x0020_DB": "0",
"Forventet_x0020_DG": "0",
"Test": "2024.00000000000",
"Test1": "12.0000000000000",
"FolderCreated": true,
"Created": "2024-12-06T23:51:34Z",
"Author": {
"@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
"Claims": "i:0#.f|membership|rp ***",
"DisplayName": "Robotic Process Automation",
"Email": " ***",
"Picture": "***Sales/_layouts/15/UserPhoto.aspx?Size=L&AccountName= ***",
"Department": null,
"JobTitle": null
},
"Author#Claims": "i:0#.f|membership| ***",
"Editor": {
"@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
"Claims": "i:0#.f|membership| ***",
"DisplayName": "Robotic Process Automation",
"Email": "r ***",
"Picture": "***Sales/_layouts/15/UserPhoto.aspx?Size=L&AccountName= ***",
"Department": null,
"JobTitle": null
},
"Editor#Claims": "i:0#.f|membership|rpa@ ***",
"FolderID": 1273,
"LengthName": "4.00000000000000",
"{Identifier}": "Lists%252fTilbud%252f3020_.000",
"{IsFolder}": false,
"{Thumbnail}": {
"Large": null,
"Medium": null,
"Small": null
},
"{Link}": "***Sales/_layouts/15/listform.aspx?PageType=4&ListId=bf2bb131%2Ddc11%2D4ef2%2D9671%2D0e407830aa43&ID=3020&ContentTypeID=0x010022E9A0290DA2784B9DA594421A5BDF62",
"{Name}": "",
"{FilenameWithExtension}": "",
"{Path}": "Lists/Tilbud/",
"{FullPath}": "Lists/Tilbud/3020_.000",
"{HasAttachments}": false,
"{VersionNumber}": "4.0"
}
},
"startTime": "2024-12-06T23:57:41.9249647Z",
"endTime": "2024-12-06T23:57:42.2289373Z",
"trackingId": "b1245c30-0ba7-4d44-83f3-0e630434315d",
"clientTrackingId": "08584680774398372982560517551CU122",
"code": "OK",
"status": "Succeeded"
},
{
"name": "Condition_4",
"inputs": {
"expressionResult": true
},
"startTime": "2024-12-06T23:57:42.4903214Z",
"endTime": "2024-12-06T23:57:44.1284377Z",
"trackingId": "ccff9245-4ac7-4791-b4b1-da19979c4df5",
"clientTrackingId": "08584680774398372982560517551CU122",
"code": "ActionFailed",
"status": "Failed",
"error": {
"code": "ActionFailed",
"message": "An action failed. No dependent actions succeeded."
}
},
{
"name": "Get_items-MovedQuotationIDs",
"inputs": {
"host": {
"apiId": "subscriptions/17aa0056-4c1a-4ef0-8fb5-915a677afc95/providers/Microsoft.Web/locations/westeurope/runtimes/europe-001/apis/sharepointonline",
"connectionReferenceName": "shared_sharepointonline_1",
"operationId": "GetItems"
},
"parameters": {
"dataset": "***Sales",
"table": "89343297-9869-4e35-816a-0e22ea99120a",
"$filter": "Title eq '3020'"
}
},
"outputs": {
"statusCode": 200,
"headers": {
"Cache-Control": "max-age=0, private",
"Transfer-Encoding": "chunked",
"Vary": "Origin,Accept-Encoding",
"X-NetworkStatistics": "0,525568,0,0,373,0,27378,13",
"X-SharePointHealthScore": "1",
"X-MS-SPConnector": "1",
"X-SP-SERVERSTATE": "ReadOnly=0",
"DATASERVICEVERSION": "3.0",
"SPClientServiceRequestDuration": "53",
"SPRequestDuration": "54",
"X-DataBoundary": "EU",
"X-1DSCollectorUrl": "https://eu-mobile.events.data.microsoft.com/OneCollector/1.0/",
"X-AriaCollectorURL": "https://eu-mobile.events.data.microsoft.com/Collector/3.0",
"SPRequestGuid": "b048ea92-6c9f-435b-b0f8-4c355f5d7541",
"request-id": "b048ea92-6c9f-435b-b0f8-4c355f5d7541",
"MS-CV": "oWsJU+XwAKC6dsTsiRzvPA.0",
"Alt-Svc": "h3=\":443\"",
"Strict-Transport-Security": "max-age=31536000",
"X-Frame-Options": "SAMEORIGIN",
"Content-Security-Policy": "frame-ancestors 'self' teams.microsoft.com *.teams.microsoft.com *.skype.com *.teams.microsoft.us local.teams.office.com teams.cloud.microsoft *.office365.com goals.cloud.microsoft *.powerapps.com app.powerbi.com *.yammer.com engage.cloud.microsoft word.cloud.microsoft excel.cloud.microsoft powerpoint.cloud.microsoft *.officeapps.live.com *.office.com *.microsoft365.com *.stream.azure-test.net *.microsoftstream.com *.dynamics.com *.microsoft.com onedrive.live.com *.onedrive.live.com securebroker.sharepointonline.com;",
"MicrosoftSharePointTeamServices": "16.0.0.25506",
"X-Content-Type-Options": "nosniff",
"X-MS-InvokeApp": "1; RequireReadOnly",
"P3P": "CP=\"ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI\"",
"X-AspNet-Version": "4.0.30319",
"X-Powered-By": "ASP.NET",
"x-ms-environment-id": "default-afe6e33c-1b2a-41e5-a7e9-9128ddcf79bf",
"x-ms-tenant-id": "afe6e33c-1b2a-41e5-a7e9-9128ddcf79bf",
"x-ms-dlp-re": "-|-",
"x-ms-dlp-gu": "-|-",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "true",
"x-ms-apihub-obo": "false",
"Date": "Fri, 06 Dec 2024 23:57:41 GMT",
"Content-Type": "application/json; charset=utf-8",
"Expires": "Thu, 21 Nov 2024 23:57:42 GMT",
"Last-Modified": "Fri, 06 Dec 2024 23:57:42 GMT",
"Content-Length": "12"
},
"body": {
"value": []
}
},
"startTime": "2024-12-06T23:57:42.2512408Z",
"endTime": "2024-12-06T23:57:42.4689707Z",
"trackingId": "8c9cbae3-02b8-4cee-9142-fc7bca26208a",
"clientTrackingId": "08584680774398372982560517551CU122",
"code": "OK",
"status": "Succeeded"
}
]