cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Process chain started by event

Former Member
0 Likes
1,574

Hi experts

I have a similar requirement as described in this blog:

http://scn.sap.com/thread/2091800

Process chain must be started between 08:00 and 16:00 on an hourly based period.

We have not understood how to schedule the event which is in the start variant of the process chain:

How do we trigger the process chain every hour in the daily time frame?

Thanks

View Entire Topic
Former Member
0 Likes

This message was moderated.

Former Member
0 Likes

Hi Dee

This means, I don't need the event base in the start variant, correct?

Thx

Former Member
0 Likes

No you don't need to..

KodandaPani_KV
Active Contributor
0 Likes

Hi,

can you try the below options it will run every day 2 times - for this no need for any logic.

othere you can use the infopacakge level event trigger.

Thanks,

Phani.

Loed
Active Contributor
0 Likes

Hi Thomas,

As Deepinder said, just use the DECISION BETWEEN MULTIPLE ALTERNATIVES to satisfy your requirement..

Just add that object in your chain and create the formula below:

Afterwards, schedule your chain to run HOURLY:

The result will be, chain will run every hour but will get an error if the time is not between 08:00:00 and 16:00:00..

Regards,

Loed

Former Member
0 Likes

Hi Loed/ Thomas,

To get rid of the error, you can point this to a dummy program that does nothing (which can end if the condition is not true).

Now you are set to go and this is much more easier way to achieve your requirement.

Hope it helps.

Cheers!

Deepinder

Loed
Active Contributor
0 Likes

Hi Deepinder,

Thanks for the suggestion..

Regards,

Loed

Former Member
0 Likes

Hi Loed

I am getting an error with the decision variant:

any ideas where the error might be?

Thanks

Loed
Active Contributor
0 Likes

Hi Thomas,

Can you post your process chain? In what process did the error occur?

Regards,

Loed

Former Member
0 Likes
Former Member
0 Likes

Hey Thomas,

Is the server time in-sync with the system time? (that is, between 8:30 and 6:30)

-Deepinder

Loed
Active Contributor
0 Likes

Hi Thomas,,

What time did the chain start its first run?

Regards,

Loed

Former Member
0 Likes

It starts every hour.

Loed
Active Contributor
0 Likes

Hi Thomas,

Yeah..But when you tried to run this chain, what time did you start it? Is it 13:00?

Because if you started it at 13:00, I can't see any problem with your configuration..It should not give any error..

Regards,

Loed