web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Answered

Dataverse

(0) ShareShare
ReportReport
Posted on by 37

How to truncate dataverse table using powerautomate schedule flow

I have the same question (0)
  • ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    Hi @dipanjan2021,

     

    The most efficient way would be to leverage the BulkDelete action in Dataverse. You can use the Dataverse Perform an Unbound Action to find this action and just fill in the necessary query expression fields. 

     

    ChrisPiasecki_0-1619450634065.png

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

  • dipanjan2021 Profile Picture
    37 on at

    As I can't select any table there it is not possible to truncate a particular table

     

     

  • ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    Hi @dipanjan2021,

     

    You specify the table where it says QueryExpression - EntityName.

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

  • dipanjan2021 Profile Picture
    37 on at

    Another constrain I am facing that it requires recurrence parameter and startdatetime parameter what are they??

    Screenshot_2021-04-28-11-52-10-49.jpg
    IMG_20210428_115151.jpg
  • ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    Hi @dipanjan2021,

     

    Recurrence Pattern is optional if you want it to be a recurring job. If you just want to run it one time you can specify an empty string (" ").

     

    The start time allows you to delay it and schedule at a later time. If you want it to start right away, just specify the expression function utcNow().

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

  • dipanjan2021 Profile Picture
    37 on at

    Now it is showing this error

    Screenshot_2021-04-28-13-09-28-49.jpg
  • ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    Hi @dipanjan2021,

    For the ToRecipients and CCRecipients, you can just specify an empty array (you can add a prior Initialize Variable action, setting the Type to array and leaving the Value empty). Optionally if you want to receive an email notification when completed, you can specify an array of user ids from the User table.

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

  • dipanjan2021 Profile Picture
    37 on at

    I have intialised two array type variables but the problem is where I need to assign the variables in "perform unbound action " action as I couldn't find any box there

  • ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    Hi @dipanjan2021,

     

    Next to the activity party,  click the  Switch to input entire array button so that it collapses down to ToRecipients. Do the same for the activity party below it for CCRecipients.

     

    ChrisPiasecki_0-1619703817653.png

     

    It will look like this afterward, where you can populate your array variables:

    ChrisPiasecki_1-1619703904468.png

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

     

  • dipanjan2021 Profile Picture
    37 on at

    Now it is showing this things

    Screenshot_2021-04-29-19-42-47-00.jpg

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard