Quantcast
Channel: SCN : Unanswered Discussions - SAP Business Process Management
Viewing all articles
Browse latest Browse all 3160

BPM Archival - Job Scheduler - bpm_proc_write

$
0
0

Hi All,

 

I'm trying to archive my BPM process that are more than x number of days in Completed and Cancelled state. I understand that the archive job can be scheduled via Java Scheduler for task bpm_proc_write.

 

My main concern is if i enter the Completed_Time_Period as x number of days, the processes before x number of days from current are selected. But i actually wanted in reverse way. Below is my example

 

 

Say I have

 

10 Process - Completed on April 25th

 

10 Process - Completed on May 25 th

 

10 Process - Completed on Jun 25th

 

10 Process - Cancelled on July 25th

 

10 Process - Completed on Aug 24th

 

 

I will schedule my bpm_proc_write task to be run on every Saturday. In the bpm_proc_write parameters I just filled

 

Completed_Time_Period : 90 days

Cancelled : checked

Completed: checked

 

Actual Hapenning:

Below process are archived

10 Process - Completed on May 25 th

 

10 Process - Completed on Jun 25th

 

10 Process - Cancelled on July 25th

 

10 Process - Completed on Aug 24th

 

My Expectation:

Only the process that are completed/cancelled state and its in the database for more than 90 days must be archived

 

10 Process - Completed on April 25th

 

 

Could you please advise me how to achieve this?


Viewing all articles
Browse latest Browse all 3160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>