Stuart Torres-Catmur Posted May 9, 2022 Posted May 9, 2022 I want to delete all requests logged from January 2017 to January 2020 for a given set of services, regardless of status or type of request. Using guidance from the Clean Utility WIKI page, I have compiled the attached script. Please could you check if I have got the scripting correct for doing this? (i.e. sanity check The line I am unsure about is: KeepRequestsCancelBPTasks: false, Not sure what it does. If not needed, can I remove this line without upsetting anything? conf.json.txt
Steve Giller Posted May 9, 2022 Posted May 9, 2022 49 minutes ago, Stuart Torres-Catmur said: The line I am unsure about is: KeepRequestsCancelBPTasks: false, The wiki states: Quote KeepRequestsCancelBPTasks : a boolean (defaulting to false) which if set to true will NOT actually delete the selected requests, but will cancel the Business Process Workflow and any Tasks connected to the request. I'm not sure how to explain what it does any better than that, but no, do not remove the line.
Stuart Torres-Catmur Posted May 9, 2022 Author Posted May 9, 2022 @Steve Giller Thank you. Sounds like it's worth setting to TRUE when deleting requests so there aren't any orphaned leftovers. Have I understood that correctly?
Steve Giller Posted May 9, 2022 Posted May 9, 2022 @Stuart Torres-Catmur Setting it to TRUE will NOT delete the Requests, only cancel the Workflow and Tasks. Your original post says you DO want to delete Requests, so I'm not sure setting this to true will be what you need here.
Stuart Torres-Catmur Posted May 9, 2022 Author Posted May 9, 2022 @Steve Giller Thank you. I think I'm clear on this now. Will set it to false
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now