cancel
Showing results for 
Search instead for 
Did you mean: 

Need a help on Customization of Process Chain

Former Member
0 Kudos

Hi Experts,

I have the requirement to Run a Process Chain as per the following conditions

  • for first 4 days of the month run it daily
  • between 5th and 6th of the month run it once in 4hrs
  • after 6th run it once every week

Is there a way to schedule the PC as per the requirement. Please help.

-TIA.

Vikas.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

For the following requirement I am planning to Create a Process Chain based on a Event. I need a program which triggers the Event based on this 3 conditions.

Can someone help me with the program with the following conditions

  • for first 4 days of the month run trigger the Event daily
  • between 5th and 6th of the month trigger the Event once in 4hrs
  • after 6th trigger the Event once every week

-TIA

Regards,

Vikas.

BenedictV
Active Contributor
0 Kudos

Hi Vikash,

The program trigger that Raf mentions would be the easiest to develop and maintain. You can use the FM RSPC_API_CHAIN_START in your program and schedule the program to run every four hours.

Second option would be to have the same process chain but have the PC job repeated three times and have each instance run for the three different schedules you have. This would be a little cumbersome process to maintain individual jobs.

Benedict

RafkeMagic
Active Contributor
0 Kudos

I would say you can do it with 3 chains (1 scheduled daily, 1 scheduled every four hours and 1 scheduled weekly) each having a decision step (to check on which day of the month you're at)

Former Member
0 Kudos

Dear Raf Boudewijns,


This will not match my requirement.

RafkeMagic
Active Contributor
0 Kudos

then you'll need to program your logic and call the process chain within your program (or call an event within the program and launch the chain on that event)... that program should be scheduled to run every 4 hours

but that ain't pretty though...