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

Notifications

Announcements

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??

  • 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

  • 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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard