Hi Rab -
Got it. Well, there is no exact "analog" of that same cleanup service and cleanup jobs that you found on the link but there is a number of scripts (jython) you could use to do the same thing -
Deleting completed task instances -
https://www.ibm.com/docs/en/baw/20.x?topic=objects-deleting-completed-task-instances
Deleting BPEL process instances -
https://www.ibm.com/docs/en/baw/20.x?topic=objects-deleting-bpel-process-instances
You should be able to use those to accomplish your task and add it to the pipeline. You could also use REST API's if that's easier from a pipeline configuration standpoint -
https://www.ibm.com/docs/en/baw/20.x?topic=instance-delete
Hope this helps.
------------------------------
Sergei Malynovskyi
------------------------------
Original Message:
Sent: Mon April 29, 2024 04:03 AM
From: Rab McGill
Subject: BAW - Configuring the cleanup service and cleanup jobs
Hi Sergei,
Thanks for replying. Yes this is for BPEL processes. We are in the process of migrating an old WPS infrastructure to BAW. The old WPS build documentation has a number of manual steps through the console to configure it. Configuring the cleanup service and cleanup jobs is one of the manual steps.
For the BAW build it is all being done via a build pipeline and hence I need to be able to script similar functionality. By the looks of things there are no wsadmin commands that I script to activate this functionality.
Regards,
Rab.
------------------------------
Rab McGill
------------------------------
Original Message:
Sent: Mon April 29, 2024 03:19 AM
From: Sergei Malynovskyi
Subject: BAW - Configuring the cleanup service and cleanup jobs
That cleanup script is for BPEL processes, so, just to confirm - are you looking to cleanup BPEL processes/tasks? This script won't work with any of BAW processes and tasks. So, I'd like to make sure you are aware of that.
If we talk about the standard BAW processes and tasks then there is a number of ways how those can be automated to run on regular basis or as part of the pipeline.
------------------------------
Sergei Malynovskyi