microsoft / powerapps-tools

Unsupported PowerApps Tools & Apps
MIT License
1.04k stars 432 forks source link

[BUG]: App Archive and Clean Up - Check Approvals and Archive flow from COE Starter Kit doesn't work #168

Closed VimmiRawat closed 4 years ago

VimmiRawat commented 4 years ago

We are using App Archive and Clean Up - Check Approvals and Archive flow from Starter Kit . We want to get unused Apps and Flows to get archived. Through Admin | App Archive and Clean Up - Start Approval flow it does send the Approvals, and even after users sending approvals ; apps are not getting archived as second flow "App Archive and Clean Up - Check Approvals and Archive" never completes through all Environment variables e.g. SharePoint Site URL and Library are in place.

To Reproduce Steps to reproduce the behavior:

We have saved the flow as "Copy of - Admin | App Archive and Clean Up - Start Approval & Admin"

  1. Go to 'Copy of - Admin | App Archive and Clean Up - Start Approval & Admin'
  2. Click on Edit to edit the flow
  3. Run test to start the flow , it keeps on spinning but nothing happens and then it errors out as below : image

Expected behavior It should archive the Apps which are approved by the owners/admins.

manuelap-msft commented 4 years ago

On this page, if you click the <-- button next to Copy of - Admin | ..... to go to the Flow Details page, does it show successful or failed Flow runs?

VimmiRawat commented 4 years ago

Hi Manuela,

It shows no runs.

Regards, Vimmi

From: Manuela Pichler notifications@github.com Sent: Wednesday, March 25, 2020 3:30 PM To: microsoft/powerapps-tools powerapps-tools@noreply.github.com Cc: Rawat, Vimmi vimmi.rawat@accenture.com; Author author@noreply.github.com Subject: [External] Re: [microsoft/powerapps-tools] [BUG]: App Archive and Clean Up - Check Approvals and Archive flow from COE Starter Kit doesn't work (#168)

This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments.


On this page, if you click the <-- button next to Copy of - Admin | ..... to go to the Flow Details page, does it show successful or failed Flow runs?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_powerapps-2Dtools_issues_168-23issuecomment-2D603749787&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=Giu4t0UfijfN-00mK4VAp1PxwK-tkxOEJ6DOQuCT-RE&s=KCDWmQv-LFLLYSe2gdq9YpA13tEVtBaCDIeowdTK7VI&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AO54P6YNZYACSCUIDFSC7ADRJHI3BANCNFSM4LTJ7HNQ&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=Giu4t0UfijfN-00mK4VAp1PxwK-tkxOEJ6DOQuCT-RE&s=aO3S6qVkif07Si_dGrnlaAys23LUAVznsMYt-Vv6kS4&e=.


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.


www.accenture.com

manuelap-msft commented 4 years ago

And the Admin | App Archive and Clean Up - Start Approval flow has run?

VimmiRawat commented 4 years ago

Yes, it does have. And it also sends approval tasks to the owners. Now, even when owners getting the approval task approved and Archival Response Entity getting updated ; Apps are not getting archived in SharePoint.

Regards, Vimmi

From: Manuela Pichler notifications@github.com Sent: Wednesday, March 25, 2020 3:34 PM To: microsoft/powerapps-tools powerapps-tools@noreply.github.com Cc: Rawat, Vimmi vimmi.rawat@accenture.com; Author author@noreply.github.com Subject: [External] Re: [microsoft/powerapps-tools] [BUG]: App Archive and Clean Up - Check Approvals and Archive flow from COE Starter Kit doesn't work (#168)

This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments.


And the Admin | App Archive and Clean Up - Start Approval flow has run?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_powerapps-2Dtools_issues_168-23issuecomment-2D603751310&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=Xl3uNmNF-nKagRdzURrLvZG_C6FqcppC2LXb9cDqITs&s=7s67I2JSx8auY-AcX9nxcmVx06y6c5BGELfGXmSqT-g&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AO54P65YSLKQJQLVT3M73HDRJHJHPANCNFSM4LTJ7HNQ&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=Xl3uNmNF-nKagRdzURrLvZG_C6FqcppC2LXb9cDqITs&s=gMXX5UznK_G-71FvV2oCHztmwbGCkf3VnWZmMEFdgAM&e=.


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.


www.accenture.com

audrieMSFT commented 4 years ago

Could you share a screen shot of the run history please? This way we can see where the delay occurs that is timing out.

JeneferM-MSFT commented 4 years ago

The time out happened because the test expects the trigger to be instantiated by an approval process, not sure if you were doing that. Can you validate?

1) Go to the 'Copy of - Admin | App Archive and Clean Up - Start Approval & Admin' 2) Run the flow 3) When it completes, validate that you have an approval at your disposal with which to test 4) Go to 'Copy of - Admin | App Archive and Clean Up - Check Approvals and Archive' 5) Click on Edit to edit the flow 6) Click "Test" to start the flow , select "I'll perform the trigger action" and then "Test" 7) Now click Approve in the mail that you received.

Please let us know if this still fails to run.

VimmiRawat commented 4 years ago

Hi,

Somehow , I can’t find the last email which I sent a few days back. It was to let you know that subjected flow still fails. Can we schedule a remote sharing session tomorrow to discuss this further ? We can plan sometime between 12 PM to 4 PM IST .

Regards, Vimmi

From: Jenefer-PA notifications@github.com Sent: Wednesday, March 25, 2020 8:56 PM To: microsoft/powerapps-tools powerapps-tools@noreply.github.com Cc: Rawat, Vimmi vimmi.rawat@accenture.com; Author author@noreply.github.com Subject: [External] Re: [microsoft/powerapps-tools] [BUG]: App Archive and Clean Up - Check Approvals and Archive flow from COE Starter Kit doesn't work (#168)

This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments.


The time out happened because the test expects the trigger to be instantiated by an approval process, not sure if you were doing that. Can you validate?

  1. Go to the 'Copy of - Admin | App Archive and Clean Up - Start Approval & Admin'
  2. Run the flow
  3. When it completes, validate that you have an approval at your disposal with which to test
  4. Go to 'Copy of - Admin | App Archive and Clean Up - Check Approvals and Archive'
  5. Click on Edit to edit the flow
  6. Click "Test" to start the flow , select "I'll perform the trigger action" and then "Test"
  7. Now click Approve in the mail that you received.

Please let us know if this still fails to run.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_powerapps-2Dtools_issues_168-23issuecomment-2D603904719&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=ArB2sJt41OxhCF8mdohYegW5F_pi7M4UbWHLKStqsHc&s=fXlDL22mplcQcfK9FFIvdOb6ELLLf8Bga2Lqpnil7j4&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AO54P63B56NDEM3PFHVTH7TRJIPAFANCNFSM4LTJ7HNQ&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=ArB2sJt41OxhCF8mdohYegW5F_pi7M4UbWHLKStqsHc&s=EhyUz4E2JJu9hHtzt9ABoRSmYFxsb5Dl07AuXn2RLmg&e=.


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.


www.accenture.com

JeneferM-MSFT commented 4 years ago

Apologies Vimmi, but we are not able to make support calls. However, we are happy to continue pursuing the issue with you here.

Next Steps Can you please validate that the following 2 CDS tables have been created and if they have data populated?

  1. Archive Approval
  2. Approval Request

Please supply pictures of their data screens (with sample data if it exists)

Note that you will need to toggle to show managed entities for the last two tables requested, which can be done as shown here: image

Tables Requested 1) Archive Approval, utilized by this flow: Admin | App Archive and Clean Up - Start Approval image

1) Approval Request, generated by this flow: Admin | App Archive and Clean Up - Start Approval image

Thank you

VimmiRawat commented 4 years ago

Hi Team,

So, user vimmi.rawat@ds.dev.accenture.commailto:vimmi.rawat@ds.dev.accenture.com approved the archival for “App3” and we can see that record also got updated under “Approval Response” ; but still “Copy of - Admin | App Archive and Clean Up - Check Approvals and Archive” never gets completed .

[Machine generated alternative text: [External]Your app App3 has been flagged for archiving Requested ads.vrawat ads.vrawat@isastaging.com by: Date Created: Details: Approve A Monday, April 20, 2020 8:02 AM GMT You own an app that has not been modified since 07 Apr 2020 and has therefore been flagged for archiving. Please confirm this app can be archived by approving this task; or provide a business justification if you reject. App Name: App3 App ID: 99557352-688f-4835-8f4e-0683b481205e Environment: Default-f321 IdOe-125b-42c3-86db-322b19a65a22 Note: If you select approve, the app will be removed from the PowerApps Maker Portal as a file in the archive, from where it can be restored should you need it again. If you select reject, please re-publish your app to avoid receving this email again. Reject v Please go ahead and archive it] Submit]

[Machine generated alternative text: [External]Your app App3 has been flagged for archiving O Getting too much email? Unsubscribe Some content in this message has been blocked because the sender isnt in your Safe senders list. I trust content from maccount@microsoft.com. I Show blocked content Microsoft Flow maccount@microsoft.com Mon 4/20/2020 1:02 AM Rawat, \Tlmmi V Approvals I Powered by Microsoft Flow Approved Date Submitted: Comments: Monday, April 20, 2020 8:50 AM GMT Please go ahead and archive it. Get the Flow app to receive push notifications and grant approvals from anywhere. Learn more This message was created by an automated workflow in Microsoft Flow. Do not reply. Microsoft Corporation 2020.] [cid:image007.jpg@01D6172E.EF675770] [cid:image008.jpg@01D6172E.EF675770]

Does this flow work at your end ? Or Is this a bug ?

Thanks & Regards, Vimmi Rawat Messaging & Collaboration Office 365 Design Accenture Technology | Intelligent Cloud and Infrastructure | Infrastructure Services for Accenture Contact No :+91 8884837711 Time Zone: Delhi (India) (GMT +05:30)

From: Jenefer Monroe notifications@github.com Sent: Wednesday, April 15, 2020 4:51 AM To: microsoft/powerapps-tools powerapps-tools@noreply.github.com Cc: Rawat, Vimmi vimmi.rawat@accenture.com; Author author@noreply.github.com Subject: [External] Re: [microsoft/powerapps-tools] [BUG]: App Archive and Clean Up - Check Approvals and Archive flow from COE Starter Kit doesn't work (#168)

This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments.


Apologies Vimmi, but we are not able to make support calls. However, we are happy to continue pursuing the issue with you here.

Next Steps Can you please validate that the following 2 CDS tables have been created and if they have data populated?

  1. Archive Approval
  2. Approval Request

Please supply pictures of their data screens (with sample data if it exists)

Note that you will need to toggle to show managed entities for the last two tables requested, which can be done as shown here: [image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_62659043_79282551-2D5c655780-2D7e6a-2D11ea-2D808b-2D2948fbaae471.png&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=uaoR4zFmlNewDYbzA2ml9WIIVwJsRVNNKAkbaz5KB44&s=nFDW5IcZ8IWH0xu293W5QPPE9x-tCrEdpMuGI3iFl94&e=

Tables Requested

  1. Archive Approval, utilized by this flow: Admin | App Archive and Clean Up - Start Approval [image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_62659043_79282844-2D08a73e00-2D7e6b-2D11ea-2D8ae6-2Deb4857f61b3f.png&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=uaoR4zFmlNewDYbzA2ml9WIIVwJsRVNNKAkbaz5KB44&s=Ar_oe6IzEC3mB5y2Xy0N9nsDNIJHP8xKwUny1rsUn_c&e=
  2. Approval Request, generated by this flow: Admin | App Archive and Clean Up - Start Approval [image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_62659043_79282471-2D232ce780-2D7e6a-2D11ea-2D8856-2D32d8a976aa42.png&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=uaoR4zFmlNewDYbzA2ml9WIIVwJsRVNNKAkbaz5KB44&s=OmOcEzzH7V1UbjLNEDnr0ERydMqajOIent7Pq4bxUXM&e=

Thank you

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_powerapps-2Dtools_issues_168-23issuecomment-2D613728238&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=uaoR4zFmlNewDYbzA2ml9WIIVwJsRVNNKAkbaz5KB44&s=JlMgNxNF-zgSagxAPeBfbeuSVlQ4bsIGLWZw-4A2bGg&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AO54P62SKW2WKE26CR7HOYLRMTVVLANCNFSM4LTJ7HNQ&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=uaoR4zFmlNewDYbzA2ml9WIIVwJsRVNNKAkbaz5KB44&s=ecf7-0JAo8C9Y0lMvRMXtBJsMrabwvqdGm8tD_vpU30&e=.


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.


www.accenture.com

JeneferM-MSFT commented 4 years ago

Yes this trigger and the subsequent flow works for us, and we have not seen this issue you are reporting before. That is why I am asking questions to narrow to the point of failure.

Thanks for confirming that you see values in Archive Approval, Approval Request, and Approval Response tables. I was asking you to do this in order to ensure the steps to create them executed correctly.

The next thing I want to check is that the connector inside the flow was set up correctly, and that you have the correct scope. Can you please open the "Check Approvals and Archive" flow in edit mode? And take a snapshot of the trigger for me? It will look like this. image

If its on, perhaps you need a different scope than the default one given?

thanks

JeneferM-MSFT commented 4 years ago

Vimmi, after a little more investigation, I'm pretty sure the issue is that the scope should be organization by default and not business unit, for cases like yours.

Can you please change the scope and let me know if it resolves the issue for you?

Thanks so much for raising this!

JeneferM-MSFT commented 4 years ago

Hi there. I'm checking in to see if this issue was resolved for you. Thanks, Jenefer

VimmiRawat commented 4 years ago

Hi,

The whole last week , I was struggling with my Admin account . It’s up now. This is the error, we see :

InvalidTemplate. Unable to process template language expressions in action 'ParseJSON-_Archive_Approval_Item' inputs at line '1' and column '11295': 'Required property 'content' expects a value but got null. Path ''.'.

[cid:image001.jpg@01D61C24.9FB57CC0]

If you see above screenshot, it’s passing “null” as output . We had discussed this with Microsoft PowerApps Support Engineer but they couldn’t find a fix for the same and asked us to contact Github support.

Actually , it has become a show stopper for us now. Can we discuss this on call and sort this out tomorrow ?

Thanks & Regards, Vimmi Rawat Messaging & Collaboration Office 365 Design Accenture Technology | Intelligent Cloud and Infrastructure | Infrastructure Services for Accenture Contact No :+91 8884837711 Time Zone: Delhi (India) (GMT +05:30)

From: Jenefer Monroe notifications@github.com Sent: Thursday, April 23, 2020 9:45 PM To: microsoft/powerapps-tools powerapps-tools@noreply.github.com Cc: Rawat, Vimmi vimmi.rawat@accenture.com; Author author@noreply.github.com Subject: [External] Re: [microsoft/powerapps-tools] [BUG]: App Archive and Clean Up - Check Approvals and Archive flow from COE Starter Kit doesn't work (#168)

This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments.


Hi there. I'm checking in to see if this issue was resolved for you. Thanks, Jenefer

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_powerapps-2Dtools_issues_168-23issuecomment-2D618493077&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=6ZIMD6_MTRACF5Ze4Qxw4fPyssXIdqRsz4E99PwQsow&s=0mowNX4D2xzbtuKBYXt30WT37ge6S30pdG7UCUM6Bao&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AO54P6ZPPP3PRJGUMWXQPXLROBSRFANCNFSM4LTJ7HNQ&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=6ZIMD6_MTRACF5Ze4Qxw4fPyssXIdqRsz4E99PwQsow&s=wTz29Ady8b0zIaRckFoS73lCH0p8bnWdVWkO_x-SiQs&e=.


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.


www.accenture.com

JeneferM-MSFT commented 4 years ago

Hi Vinmi, Your screenshots are not coming through so I cannot see where you are seeing this error. However I'm wondering if you saw my suggestion above. Can you please try to change this parameter in the trigger? image

VimmiRawat commented 4 years ago

Hi,

We never had scope set as Business Unit , it’s always Organization . We get below error :

InvalidTemplate. Unable to process template language expressions in action 'ParseJSON-_Archive_Approval_Item' inputs at line '1' and column '11295': 'Required property 'content' expects a value but got null. Path ''.'.

If you see below screenshot, it’s passing “null” as an output and hence failing .

[cid:image001.jpg@01D61CA2.37D872A0]

From: Jenefer Monroe notifications@github.com Sent: Monday, April 27, 2020 3:20 AM To: microsoft/powerapps-tools powerapps-tools@noreply.github.com Cc: Rawat, Vimmi vimmi.rawat@accenture.com; Author author@noreply.github.com Subject: [External] Re: [microsoft/powerapps-tools] [BUG]: App Archive and Clean Up - Check Approvals and Archive flow from COE Starter Kit doesn't work (#168)

This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments.


Hi Vinmi, Your screenshots are not coming through so I cannot see where you are seeing this error. However I'm wondering if you saw my suggestion above. Can you please try to change this parameter in the trigger? [image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_62659043_80320747-2D1d6dc500-2D87cd-2D11ea-2D8df0-2D44549b440c97.png&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=tXOLABFQ16DB1pM0DkSSOWQU0mupkJmsEfy7oezfXGs&s=bREe_JCdpLXht4ZfbytVF0XwpLODSeV4NgoLgRDhJBs&e=

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_powerapps-2Dtools_issues_168-23issuecomment-2D619630351&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=tXOLABFQ16DB1pM0DkSSOWQU0mupkJmsEfy7oezfXGs&s=Vd5KuZONhUvJzM9EcLGfs_p6fKye1csEKw9WabNykKU&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AO54P66VJY667XSFWTZYIWTROST77ANCNFSM4LTJ7HNQ&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=tXOLABFQ16DB1pM0DkSSOWQU0mupkJmsEfy7oezfXGs&s=4bwr9m6NVbvFv787gKHXp-Y8_sMFRicrZlCKcjQZF8c&e=.


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.


www.accenture.com

JeneferM-MSFT commented 4 years ago

We had set it to Business Unit previously, which will now be fixed on the next release of CoE, so it sounds like like you fixed that. Which is great! It also sounds like you have gotten past the failure we were debugging above about the failure of the flow to trigger at all, and this failure is occurring on the run of the flow, is that correct?

Your images are not coming through, but it sounds like your parse is failing here: Parse JSON - Archive Approval Item. So the item is not coming through. But please confirm that you are now within that flow that would not previously trigger.

VimmiRawat commented 4 years ago

Hi,

We worked with Microsoft PowerApps Support Team on this and we were getting this error in the beginning also. But, then it stopped coming and flow didn’t start at all. It has resurfaced now .

Let me know if you can see the error in attached file now.

Thanks, Vimmi

From: Jenefer Monroe notifications@github.com Sent: Monday, April 27, 2020 7:59 PM To: microsoft/powerapps-tools powerapps-tools@noreply.github.com Cc: Rawat, Vimmi vimmi.rawat@accenture.com; Author author@noreply.github.com Subject: [External] Re: [microsoft/powerapps-tools] [BUG]: App Archive and Clean Up - Check Approvals and Archive flow from COE Starter Kit doesn't work (#168)

This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments.


We had set it to Business Unit previously, which will now be fixed on the next release of CoE, so it sounds like like you fixed that. Which is great! It also sounds like you have gotten past the failure we were debugging above about the failure of the flow to trigger at all, and this failure is occurring on the run of the flow, is that correct?

Your images are not coming through, but it sounds like your parse is failing here: Parse JSON - Archive Approval Item. So the item is not coming through. But please confirm that you are now within that flow that would not previously trigger.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_powerapps-2Dtools_issues_168-23issuecomment-2D620022941&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=qb2JQut61FGN6D0SpynaX5ldxkPLQD9rCExjNq-Jo_Q&s=eNU3WemLqtCLlqEvpRebst4xS3vyLb8c1yBbbexZF7Y&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AO54P6YV37FPKQG2OLXOEJTROWJC5ANCNFSM4LTJ7HNQ&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=qb2JQut61FGN6D0SpynaX5ldxkPLQD9rCExjNq-Jo_Q&s=AdM05Sta54qPfk6hllaENajaOlOk8kJ4ZDTGmNkI7MU&e=.


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.


www.accenture.com

JeneferM-MSFT commented 4 years ago

I repro this today as well, though it worked last week. Investigating

JeneferM-MSFT commented 4 years ago

I think you have may hit a size limit and are not fetching all the data, hence you arent getting the requested row. Can you please add pagination as follows?

Go the this step: image

Choose Settings: image

Then enable Pagination with some threashold image

VimmiRawat commented 4 years ago

Hi,

I followed what you suggested , but the flow still fails with the same error . Please find attached the screenshot .

tart time Apr 28, 02:38 PM (4 min ago)

Duration 00:00:43

Status Failed

Error Action 'ParseJSON-_Archive_Approval_Item' failed

Error Details Unable to process template language expressions in action 'ParseJSON-_Archive_Approval_Item' inputs at line '1' and column '11293': 'Required property 'content' expects a value but got null. Path ''.'.

Regards, Vimmi

From: Jenefer Monroe notifications@github.com Sent: Tuesday, April 28, 2020 2:14 AM To: microsoft/powerapps-tools powerapps-tools@noreply.github.com Cc: Rawat, Vimmi vimmi.rawat@accenture.com; Author author@noreply.github.com Subject: [External] Re: [microsoft/powerapps-tools] [BUG]: App Archive and Clean Up - Check Approvals and Archive flow from COE Starter Kit doesn't work (#168)

This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments.


I think you have may hit a size limit and are not fetching all the data, hence you arent getting the requested row. Can you please add pagination as follows?

Go the this step: [image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_62659043_80418456-2D46a15a80-2D888c-2D11ea-2D962f-2D51b17ab2c40e.png&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=sl-6mNk-dsEPfzSXZpomWLG_xO7_-CVnwunm35MGqeA&s=SVQdczDk1Osk93prTzhu9XtwnbOEmS85rqqEJq9fx-U&e=

Choose Settings: [image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_62659043_80418537-2D705a8180-2D888c-2D11ea-2D81af-2D072da09d6731.png&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=sl-6mNk-dsEPfzSXZpomWLG_xO7_-CVnwunm35MGqeA&s=80ePOdZt357tpHPrMJ4fGP5N-ZT2j1oKZxGkFkBldOs&e=

Then enable Pagination with some threashold [image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_62659043_80418582-2D8405e800-2D888c-2D11ea-2D9029-2D8496a45e2094.png&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=sl-6mNk-dsEPfzSXZpomWLG_xO7_-CVnwunm35MGqeA&s=aM_x0I5hNk_s61Jl1ZplukrwWjometVZngf4IMVKrjA&e=

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_powerapps-2Dtools_issues_168-23issuecomment-2D620223862&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=sl-6mNk-dsEPfzSXZpomWLG_xO7_-CVnwunm35MGqeA&s=MXXMaAi_Yfll-1S57W_EkpQSjmpXfNFrteSYtbXVzf4&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AO54P6ZUB6POU33XOFCARULROXVCJANCNFSM4LTJ7HNQ&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=sl-6mNk-dsEPfzSXZpomWLG_xO7_-CVnwunm35MGqeA&s=lz8HUzAaqq8SiaANIG7hyrtnNokc0V_ZgkBvIat81Qo&e=.


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.


www.accenture.com

VimmiRawat commented 4 years ago

Hi Jenefer ,

One quick question ?

How can we confirm for “Filter Archive Approval to get item” , it is meeting the criteria as somehow I can’t confirm it from Entity’s records as above because of the view restriction . What do you see at your end ? I think the flow failure reason might be , because Approval Id is not equal to the Approval Response value . Can we change the filter query ?

Regards, Vimmi

From: Rawat, Vimmi Sent: Tuesday, April 28, 2020 2:44 PM To: microsoft/powerapps-tools reply@reply.github.com; microsoft/powerapps-tools powerapps-tools@noreply.github.com Cc: Author author@noreply.github.com Subject: RE: [External] Re: [microsoft/powerapps-tools] [BUG]: App Archive and Clean Up - Check Approvals and Archive flow from COE Starter Kit doesn't work (#168)

Hi,

I followed what you suggested , but the flow still fails with the same error . Please find attached the screenshot .

tart time Apr 28, 02:38 PM (4 min ago)

Duration 00:00:43

Status Failed

Error Action 'ParseJSON-_Archive_Approval_Item' failed

Error Details Unable to process template language expressions in action 'ParseJSON-_Archive_Approval_Item' inputs at line '1' and column '11293': 'Required property 'content' expects a value but got null. Path ''.'.

Regards, Vimmi

From: Jenefer Monroe notifications@github.com<mailto:notifications@github.com> Sent: Tuesday, April 28, 2020 2:14 AM To: microsoft/powerapps-tools powerapps-tools@noreply.github.com<mailto:powerapps-tools@noreply.github.com> Cc: Rawat, Vimmi vimmi.rawat@accenture.com<mailto:vimmi.rawat@accenture.com>; Author author@noreply.github.com<mailto:author@noreply.github.com> Subject: [External] Re: [microsoft/powerapps-tools] [BUG]: App Archive and Clean Up - Check Approvals and Archive flow from COE Starter Kit doesn't work (#168)

This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments.


I think you have may hit a size limit and are not fetching all the data, hence you arent getting the requested row. Can you please add pagination as follows?

Go the this step: [image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_62659043_80418456-2D46a15a80-2D888c-2D11ea-2D962f-2D51b17ab2c40e.png&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=sl-6mNk-dsEPfzSXZpomWLG_xO7_-CVnwunm35MGqeA&s=SVQdczDk1Osk93prTzhu9XtwnbOEmS85rqqEJq9fx-U&e=

Choose Settings: [image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_62659043_80418537-2D705a8180-2D888c-2D11ea-2D81af-2D072da09d6731.png&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=sl-6mNk-dsEPfzSXZpomWLG_xO7_-CVnwunm35MGqeA&s=80ePOdZt357tpHPrMJ4fGP5N-ZT2j1oKZxGkFkBldOs&e=

Then enable Pagination with some threashold [image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_62659043_80418582-2D8405e800-2D888c-2D11ea-2D9029-2D8496a45e2094.png&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=sl-6mNk-dsEPfzSXZpomWLG_xO7_-CVnwunm35MGqeA&s=aM_x0I5hNk_s61Jl1ZplukrwWjometVZngf4IMVKrjA&e=

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_powerapps-2Dtools_issues_168-23issuecomment-2D620223862&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=sl-6mNk-dsEPfzSXZpomWLG_xO7_-CVnwunm35MGqeA&s=MXXMaAi_Yfll-1S57W_EkpQSjmpXfNFrteSYtbXVzf4&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AO54P6ZUB6POU33XOFCARULROXVCJANCNFSM4LTJ7HNQ&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=sl-6mNk-dsEPfzSXZpomWLG_xO7_-CVnwunm35MGqeA&s=lz8HUzAaqq8SiaANIG7hyrtnNokc0V_ZgkBvIat81Qo&e=.


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.


www.accenture.com

JeneferM-MSFT commented 4 years ago

Great question. Go to your latest run and open the trigger which should have succeeded now, open it to view the output image

The filter in question uses that first value shown, so grab that value. "_msdyn_flow_approvalresponse_approval_value": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

Now go to "List Archive Approval Tasks", which likely now looks like the below if you required pagination. Hit click to download and the results will open in the new window. image

In the resultant window that opens use Find to locate the GUID you got from the trigger. "admin_approvalid":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

If found, then the filter will work. Here is the filter as shown in advanced mode so you can double check it is still correct: image

If not found, then ensure you have set up pagination with a big enough threashold, you can set to 10000 as the largest it takes.

Let me know how this goes.

VimmiRawat commented 4 years ago

Filter is same as yours , pagination has also set up , but still no luck ☹ Moreover , I can’t find the “_msdyn_flow_approvalresponse_approval_value”: XXXXX in the output .

What’s the field name in the output for you ? “_msdyn_flow_approvalresponse_approval_value” or something else ? Because , I don’t see this field in the output .

Regards, Vimmi

From: Jenefer Monroe notifications@github.com Sent: Tuesday, April 28, 2020 5:39 PM To: microsoft/powerapps-tools powerapps-tools@noreply.github.com Cc: Rawat, Vimmi vimmi.rawat@accenture.com; Author author@noreply.github.com Subject: [External] Re: [microsoft/powerapps-tools] [BUG]: App Archive and Clean Up - Check Approvals and Archive flow from COE Starter Kit doesn't work (#168)

This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments.


Great question. Go to your latest run and open the trigger which should have succeeded now, open it to view the output [image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_62659043_80485045-2D94aa7280-2D890d-2D11ea-2D97c5-2D58720397445a.png&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=fgTZhoYnjqfP9xHtr9jj2hGB5ie1C8m-qQdiGfyScPY&s=KHePv4tLIHhBg4jz3x4VY7GWAmX4ykxaldJwo8kf0o4&e=

The filter in question uses that first value shown, so grab that value. "_msdyn_flow_approvalresponse_approval_value": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

Now go to "List Archive Approval Tasks", which likely now looks like the below if you required pagination. Hit click to download and the results will open in the new window. [image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_62659043_80485005-2D82303900-2D890d-2D11ea-2D9700-2Dcbcbfef35478.png&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=fgTZhoYnjqfP9xHtr9jj2hGB5ie1C8m-qQdiGfyScPY&s=gFI2zLlrgjbphc1M60JQlx8is-C6wcYXq0oPhMXH_f8&e=

In the resultant window that opens use Find to locate the GUID you got from the trigger. "admin_approvalid":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

If found, then the filter will work. Here is the filter as shown in advanced mode so you can double check it is still correct: [image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_62659043_80485339-2D0d113380-2D890e-2D11ea-2D8403-2Df4c4cf29c3ba.png&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=fgTZhoYnjqfP9xHtr9jj2hGB5ie1C8m-qQdiGfyScPY&s=QaFoaA9LKY2_phur9Ckf3ghRkuObRabsAei5cIPP0Rk&e=

If not found, then ensure you have set up pagination with a big enough threashold, you can set to 10000 as the largest it takes.

Let me know how this goes.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_powerapps-2Dtools_issues_168-23issuecomment-2D620564958&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=fgTZhoYnjqfP9xHtr9jj2hGB5ie1C8m-qQdiGfyScPY&s=o7s_J3LdRacbI_8omE6rUAF5TZY-R-4Rj9JC972Gpl4&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AO54P64ENK3ZZVCD3H3KICDRO3BL5ANCNFSM4LTJ7HNQ&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=fgTZhoYnjqfP9xHtr9jj2hGB5ie1C8m-qQdiGfyScPY&s=dV4X4v1XxwkN0Z2Tband9IFviRmCROEjuILZf2o9NO0&e=.


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.


www.accenture.com

JeneferM-MSFT commented 4 years ago

Please search just for the guid from the trigger in the output screen. The string you pasted above (with msdyn_flow_approvalresponse_approval_value) will not be found because its called something else in the output (admin_approvalid)

VimmiRawat commented 4 years ago

Ok. Tried searching for 2-3 GUIDs. None of them is populated in the output.

From: Jenefer Monroe notifications@github.com Sent: Tuesday, April 28, 2020 9:03 PM To: microsoft/powerapps-tools powerapps-tools@noreply.github.com Cc: Rawat, Vimmi vimmi.rawat@accenture.com; Author author@noreply.github.com Subject: [External] Re: [microsoft/powerapps-tools] [BUG]: App Archive and Clean Up - Check Approvals and Archive flow from COE Starter Kit doesn't work (#168)

This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments.


Please search just for the guid from the trigger in the output screen. The string you pasted above (with msdyn_flow_approvalresponse_approval_value) will not be found because its called something else in the output (admin_approvalid)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_powerapps-2Dtools_issues_168-23issuecomment-2D620680727&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=m62RzIGNbR3RPVAdSVIy39LVW2hhLLFgcKAYs8_a32c&s=weO8jyiatF6crGlwACYEKzGzCIZXLU_tXiyJw4jZ4Hw&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AO54P63HC6PRQLSXQ4INMYDRO3ZLPANCNFSM4LTJ7HNQ&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=m62RzIGNbR3RPVAdSVIy39LVW2hhLLFgcKAYs8_a32c&s=ql6axgaQt9tedJ5WPqQNxhHlDTHMsu6wmC7nqDXSXYk&e=.


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.


www.accenture.com

JeneferM-MSFT commented 4 years ago

Can you please share what your output looks like by pasting in a single odata entry? Here is what mine looks like: {"@odata.id":"https://contosocoe.crm.dynamics.com/api/data/v9.0/admin_archiveapprovals(6bcdfb03-xxxx-xxxx-xxxx-xxxxxxxxxxxx)","@odata.etag":"","ItemInternalId":"6bcdfb03-xxxx-xxxx-xxxx-xxxxxxxxxxxx","admin_appownername":"Megan Bowen","admin_appowneremail":"MeganB@PPlatform.OnMicrosoft.com","_owningbusinessunit_value":"b991170f-xxxx-xxxx-xxxx-xxxxxxxxxxx","_owningbusinessunit_type":"businessunits","statecode":0,"_statecode_label":"Active","admin_appname":"d6a7e95d-xxxx-xxxx-xxxx-xxxxxxxxxxxx","statuscode":1,"_statuscode_label":"Active","_createdby_value":"b28b396b-xxxx-xxxx-xxxx-xxxxxxxxxxx","_createdby_type":"systemusers","admin_name":"d6a7e95d-xxxx-xxxx-xxxx-xxxxxxxxxxxx","admin_approvalid":"35739fce-xxxx-xxxx-xxxx-xxxxxxxxxxxx","admin_appdisplayname":"HR Solution","versionnumber":4081361,"_ownerid_value":"b28b396b-xxxx-xxxx-xxxx-xxxxxxxxxxx","_ownerid_type":"systemusers","modifiedon":"2020-01-02T12:29:02Z","_modifiedby_value":"b28b396b-xxxx-xxxx-xxxx-xxxxxxxxxxx","_modifiedby_type":"systemusers","admin_archiveapprovalid":"6bcdfb03-xxxx-xxxx-xxxx-xxxxxxxxxxxx","admin_appenvironmentname":"72e87f56-e215-43d4-8883-5cf7ff5550f5","admin_appreadonlyvalue":"https://pafeblobprodby-secondary.blob.core.windows.net/20190408t000000z9616b39ee02b458bbcb58ec12bb4f51a/hrsolution_c821b_DocumentUri.msapp?sv=2018-03-28&sr=c&sig=PCFhLOQMz2UZ2F3hhtIGiXZVlPj7t5hqtOqXPQTArH8%3D&se=2020-01-03T00%3A00%3A00Z&sp=rl","createdon":"2020-01-02T12:18:50Z","admin_approvalresponse":"Approve","admin_archiveurl":"https://pplatform.sharepoint.com/sites/PowerAppsCommunity//PowerApps Archive/HR Solution-02Jan2020.msapp"},

JeneferM-MSFT commented 4 years ago

And can you open the data for Archive Approval in Excel to validate that the GUID you are looking for exists?

Browse to the Archive Approval table and click Edit Data in Excel image

Click Enable Editing if you see that business bar at the top image

Search for your GUID (will be in the Approval ID column). If you do not see it, search for the App Display Name for your test case and see what is in the column, perhaps you have copied the incorrect GUID.

Please let me know.

VimmiRawat commented 4 years ago

Excel is blank for me . It has just column titles but no records/values. Below is the sample :

"@odata.etag":"","ItemInternalId":"3024ca18-6f79-ea11-a811-000d3a1bb8ef","admin_appownername":"T02037DSFlow_user5","admin_appowneremail":"T02037DSFlow_user5@ds.dev.accenture.com","_owningbusinessunit_value":"ebd516d4-d039-ea11-a813-000d3a579c45","_owningbusinessunit_type":"businessunits","statecode":0,"_statecode_label":"Active","admin_appname":"07679f36-ba05-4fba-be68-1aecad102b8d","statuscode":1,"_statuscode_label":"Active","_createdby_value":"b048d283-d73d-ea11-a813-000d3a569d3f","_createdby_type":"systemusers","admin_name":"07679f36-ba05-4fba-be68-1aecad102b8d","admin_approvalid":"c2f9b308-b420-467a-8e58-e74a644bd205","createdon":"2020-04-08T08:01:11Z","admin_appdisplayname":"NotShared","versionnumber":2337460,"_ownerid_value":"b048d283-d73d-ea11-a813-000d3a569d3f","_ownerid_type":"systemusers","_modifiedby_value":"b048d283-d73d-ea11-a813-000d3a569d3f","_modifiedby_type":"systemusers","admin_archiveapprovalid":"3024ca18-6f79-ea11-a811-000d3a1bb8ef","admin_appenvironmentname":"Default-f3211d0e-125b-42c3-86db-322b19a65a22","admin_appreadonlyvalue":"https://pafeblobprodby-secondary.blob.core.windows.net/20200130t000000z0971bb08c8254d1e9fbfa829bf60ee22/document.msapp?sv=2018-03-28&sr=c&sig=oIrm9cADRgDhrlYafJi0vvnGnXh%2FK9%2BG0EA9jQP74vo%3D&se=2020-04-09T00%3A00%3A00Z&sp=rl","modifiedon":"2020-04-08T08:01:11Z"},{"@odata.id":"https://org261adb19.crm.dynamics.com/api/data/v9.0/admin_archiveapprovals(91cf1a1f-6f79-ea11-a811-000d3a1bb8ef)"

From: Jenefer Monroe notifications@github.com Sent: Tuesday, April 28, 2020 9:39 PM To: microsoft/powerapps-tools powerapps-tools@noreply.github.com Cc: Rawat, Vimmi vimmi.rawat@accenture.com; Author author@noreply.github.com Subject: [External] Re: [microsoft/powerapps-tools] [BUG]: App Archive and Clean Up - Check Approvals and Archive flow from COE Starter Kit doesn't work (#168)

This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments.


And can you open the data for Archive Approval in Excel to validate that the GUID you are looking for exists?

Browse to the Archive Approval table and click Edit Data in Excel [image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_62659043_80510083-2D178ff500-2D892f-2D11ea-2D9d65-2D83342f3e8cfa.png&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=fe8EWyrtlvay-JaTidctjMPzdoXiQJb7jnRCkGu2mb4&s=nG-HRlSvzVlnXUphe-FAq2vQnivsAj6A221gfhS2avU&e=

Click Enable Editing if you see that business bar at the top [image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_62659043_80510251-2D51f99200-2D892f-2D11ea-2D8f71-2Dde3d4eee0bf1.png&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=fe8EWyrtlvay-JaTidctjMPzdoXiQJb7jnRCkGu2mb4&s=KXEW6r1B8tkTYVBxvMbn4P3_WWhB5a3aOveMOo4xOWs&e=

Search for your GUID (will be in the Approval ID column). If you do not see it, search for the App Display Name for your test case and see what is in the column, perhaps you have copied the incorrect GUID.

Please let me know.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_powerapps-2Dtools_issues_168-23issuecomment-2D620702899&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=fe8EWyrtlvay-JaTidctjMPzdoXiQJb7jnRCkGu2mb4&s=usX9Uq-PmjTtVzX4UT-kEEFkW-vB335B2VxHS3Q6Cto&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AO54P6YS2JGFIP23L3CS6PTRO35QNANCNFSM4LTJ7HNQ&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=fe8EWyrtlvay-JaTidctjMPzdoXiQJb7jnRCkGu2mb4&s=a0yZ9dF5oa1A7vnX-6ktqpedcrr_e9gEVn_sfTAo5OY&e=.


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.


www.accenture.com

JeneferM-MSFT commented 4 years ago

That is the correct output types, so thats good. Excel can't be empty, or that would mean the table was empty. Do the columns look correct? Matching the output you saw? Did you see the business bar refrenced above? Do you see this and did you hit refresh image

If Excel is still empty after trying all that, then do you see data here? image

VimmiRawat commented 4 years ago

I clicked “Edit Data in Excel” and it had a business bar , so I selected “Enable Editing” . Then, I saved the above excel for reference .

Regards, Vimmi From: Jenefer Monroe notifications@github.com Sent: Tuesday, April 28, 2020 10:08 PM To: microsoft/powerapps-tools powerapps-tools@noreply.github.com Cc: Rawat, Vimmi vimmi.rawat@accenture.com; Author author@noreply.github.com Subject: [External] Re: [microsoft/powerapps-tools] [BUG]: App Archive and Clean Up - Check Approvals and Archive flow from COE Starter Kit doesn't work (#168)

This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments.


That is the correct output types, so thats good. Excel can't be empty, or that would mean the table was empty. Do the columns look correct? Matching the output you saw? Did you see the business bar refrenced above? Do you see this and did you hit refresh [image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_62659043_80513313-2Dbd456300-2D8933-2D11ea-2D80e8-2Dbfc1b9a5cf30.png&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=xm6M02n6-qu0AdQdS5Eh7wd40Vzo66HDIhAFDYwQVs0&s=WMPuz2Q1r6qyLk5GT5HGjgEVjFaGAPdST-CDfJz7U08&e=

If Excel is still empty after trying all that, then do you see data here? [image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_62659043_80513384-2Dd221f680-2D8933-2D11ea-2D8df4-2D7f2fdfa820b2.png&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=xm6M02n6-qu0AdQdS5Eh7wd40Vzo66HDIhAFDYwQVs0&s=KDFOHvkCnFU5KDq69xyL-0mGpzPvx4kLRycwlKJW5SQ&e=

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_powerapps-2Dtools_issues_168-23issuecomment-2D620720952&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=xm6M02n6-qu0AdQdS5Eh7wd40Vzo66HDIhAFDYwQVs0&s=534W8QtWmhv1mq3sOvSFtk5_MBICTg7hhqbqa18pt9k&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AO54P63DHJ2GNLQAFSIMLLDRO4A6LANCNFSM4LTJ7HNQ&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=xm6M02n6-qu0AdQdS5Eh7wd40Vzo66HDIhAFDYwQVs0&s=tUOuSJg16IGp_hFaN4MNuUlp_S1orwaa6FcQ5__APf8&e=.


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.


www.accenture.com

VimmiRawat commented 4 years ago

Hi,

What should be our next action here? Just to let you know , I am using old version of COE Starter Kit .

JeneferM-MSFT commented 4 years ago

Hey Vinmi, given the age of your install, and the amount of problems you are having, I would suggest you upgrade to the latest version of the CoE toolkit before we continue to debug. I will also suggest that we close these issues as they change rather than continuing with a single issue for multiple concerns. This one, for example, was originally to track the lack of the trigger firing. Please upgrade the toolkit, see how you proceed with the newer bits, and then only reopen here if you return to the original issue of the failed trigger, else please post new issues for new problems you see. Thanks Jenefer

VimmiRawat commented 4 years ago

Hi Jenefer ,

Subjected flow never worked for us and status is still the same even after upgrading the solution . Can you please go ahead and open this issue ?

Thanks , Vimmi


From: Jenefer Monroe notifications@github.com Sent: Friday, May 1, 2020 8:06 PM To: microsoft/powerapps-tools powerapps-tools@noreply.github.com Cc: Rawat, Vimmi vimmi.rawat@accenture.com; Author author@noreply.github.com Subject: [External] Re: [microsoft/powerapps-tools] [BUG]: App Archive and Clean Up - Check Approvals and Archive flow from COE Starter Kit doesn't work (#168)

This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links and attachments.


Closed #168https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_powerapps-2Dtools_issues_168&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=fVW0Gkh8c2Pj1GGRpAtj5V5NUGn8bGewiUY54-5qbSs&s=4oSqeIQyrXVPxcuyBcreD06Grl6GXEej_g1yl8hohSA&e=.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_powerapps-2Dtools_issues_168-23event-2D3293368266&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=fVW0Gkh8c2Pj1GGRpAtj5V5NUGn8bGewiUY54-5qbSs&s=CsFUUmGUD6i6HcjhvuDdszt8HAg0BQj8p6v4UmKHzaM&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AO54P62PZH6FF6DJ2IK2IJDRPLM7BANCNFSM4LTJ7HNQ&d=DwMCaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=RxdAoBPFsyo_ysmJ6Zhb1B-Y7gjfjYc0tMXS6bZlNCM&m=fVW0Gkh8c2Pj1GGRpAtj5V5NUGn8bGewiUY54-5qbSs&s=XDanXF4QXCQfh0JBgKYFaW7KiXmqx4CTd0Zs6nT5ypk&e=.


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.


www.accenture.com

JeneferM-MSFT commented 4 years ago

The currently shipped solution does not fix the problem with the pagination as describe above. Can you please try the things we discussed above in the newly upgraded solution?

VimmiRawat commented 4 years ago

I had already upgraded the solution last week, made the changes as you suggested but error remains the same.

Solution_Status

ERROR_4th May

Solution_Status

VimmiRawat commented 4 years ago

Scope

Pagination

JeneferM-MSFT commented 4 years ago

Please confirm 1) That the scope is correct in the trigger. As described above, this was shipped incorrectly and the fix is on its way out, but hasnt quite been released. image

2) Go to your latest run and open the trigger which should have succeeded, open it to view the output: image

The filter that is returning null later in the flow uses that first value shown, so grab that value. "_msdyn_flow_approvalresponse_approval_value": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

Now go to "List Archive Approval Tasks", which likely now looks like the below if you required pagination. Hit click to download and the results will open in the new window, search for the GUID found above.

image

VimmiRawat commented 4 years ago

This has been checked before , the GUID doesn't appear in the results .

JeneferM-MSFT commented 4 years ago

I'm just making sure these have been checked in the new install in the event there were bugs in the past. Did you check them again?

If so, next step is to check to see if the GUID exists in the data. If you cannot get the excel add-in to work (as you had troubles before) you can browse to the entity, and change the view to all-fields. It will look like this.

image

Please look for your GUID here.

VimmiRawat commented 4 years ago

Archive_Approval_Entity

The challenge is when I select "all fields" , it shows me many entries like above and looks like CTRL+F doesn't work on this page, so I need to keep clocking on "Load more" at the bottom .

Is there no other way to search for the entity ?

JeneferM-MSFT commented 4 years ago

Can you try to open in Excel as described above?

Otherwise, control-f should give you a yellow highlight on what is found like the below. A GUID should be easy to find with that or show you that it found 0/0 image

JeneferM-MSFT commented 4 years ago

if it found 0/0 can you please show the capture from the trigger like I show here, and then paste what string you searched for? image

VimmiRawat commented 4 years ago

Flow_Error_4

I searched for 80b2e576-8d33-454f-9fa7-497992327b91

So, there are 0 results found for this GUID

VimmiRawat commented 4 years ago

Flow screenshots for reference

Capture13 Capture12 Capture11 Capture10 Capture9 Capture8 Capture7 Capture6 Capture5 Capture4 Capture3 Capture2 Capture1 Capture

VimmiRawat commented 4 years ago

You can check from below . This is how the flow looks at my end which pagination enabled

JeneferM-MSFT commented 4 years ago

Its hard to follow your screenshots as you did not paste them in order, but it does look like you don't have the latest version of the flow from that first screenshot.

That said, the changes I recognize are after the point of failure.

Can we please start a new test case from scratch? Kick start the "start" flow, and then capture an app of interest for the testing. Return here with a snapshot of that new entry in the Archive Approval table. And then I'll let you know what I suggest to do for next step.

VimmiRawat commented 4 years ago

MyFirstApp

App Display Name MyFirstApp App Name dacca212-3af2-441f-8412-3d1df8936048

So, what should we do next ?

JeneferM-MSFT commented 4 years ago

Great, so our test case will be this app. I'll want to see all the fields for both the app as recorded by Power Platform, and the entry in the Archive Approval table of the CoE. Please create a little flow as shown below and then paste the body of the output for both steps.

image

VimmiRawat commented 4 years ago

So, the challenge is ; we have multiple entries for same app in Archive Approval Entity . When we select "Active Archive Approvals" view ; it doesn't show Archive Approval column and when we select "All fields" or "custom fields" view; then it just shows the old entries even if we do CTRL+F .

App1 App1_Entry

When we copy old entry from Archive Approval Entity for the same it fails as below which might be expected as it is looking for old approval id

App1_Error

Is there a way we can delete all records from "Archive Approval" entity in one go ?

JeneferM-MSFT commented 4 years ago

Can you please show the input part of the failure? So that I can check what you entered?

Two of the ways to bulk edit values in the CDS include: using the Excel Add in: https://powerapps.microsoft.com/sv-se/blog/cds-for-apps-excel-importexport/

creating a model driven app on the entity and editing there: https://www.inogic.com/blog/2019/02/create-model-driven-app-cds-environment/