Skip to Content

How to schedule process Chain based on after job – Periodically

Requirement: Process chain will be scheduled after execution of info package on daily basis

There are two scenarios:

1)If you want to execute process chain after job – one time(It can be done directly from start variant after job)

2)if you want to execute process chain after job periodically(Here in your case you need to maintain subsequect process in infopackage)

Steps to Follow:

1)If you want to execute process chain after job – one time(It can be done directly from start variant after job)

1)      Schedule info package as per below screen

/wp-content/uploads/2013/11/pc1_320923.jpg

Here you can mention cancel job after after X run also.suppose you want to execute infopackage for 5 days then you should maintain 5.

It will create job for 5 days only.

Check the job in sm37 it is scheduled.

/wp-content/uploads/2013/11/pc2_320969.jpg

2)      Open the created process chain modify the start variant

/wp-content/uploads/2013/11/pc3_320970.jpg

Save the Variant -> Activate the chain

Do not forget to execute Chain.This is for one time when infopackage executed sucessfully process chain will be triggered.

This will trigger process chain one time only.But when you want this should happen periodically based on same job then

2)if you want to execute process chain after job periodically(Here in your case you need to maintain subsequect process in infopackage)

As per below screen change the infopackage

Click on subsequest process.

/wp-content/uploads/2013/11/ip1_328753.jpg

Click on trigger events -> create new event.This event we need to use in process chain start variant.

Modify Start variant

/wp-content/uploads/2013/11/pc1_320923.jpg

      As soon as your infopackge job is completed it will trigger event and event will trigger the process chain.

      PC4.jpg

        Here the process chain triggered after info package successful execution.

        /wp-content/uploads/2013/11/pc4_1_320975.jpg

       

       As we are scheduled info package on daily basis so it will create new job for next day after successful execution of info package.

Each sucessful run it will trigger event which achiev the purpose of execution of process chain based on job.

      /wp-content/uploads/2013/11/pc5_320977.jpg

        /wp-content/uploads/2013/11/pc6_320981.jpg

       

In this way we will able to schedule process chain after job periodically.

Appreciate you suggestions and feedback.

54 Comments
You must be Logged on to comment or reply to a post.