Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Triggering multiple processes at different times

Bob VSep 17 2024 — edited Sep 17 2024

I have two processes that make API calls, and I would like to have process #1 trigger immediately on a button click and then the second process to trigger based on a delay, like 5 secconds. I thought I could do this with a DA, but I cant seem to figure it out.

I've tried Debounce on the second DA but that didn't work either.

Here is an example of my DA's.

I have a button called SendCommand and then the first DA control has no Debounce with the following JS code.

ibootControl is the first process.

apex.submit({request:'ibootControl'} );

and then the second DA has a 5 second debounce with the following JS code.

ibootRetrieve is the second process.

apex.submit({request:'ibootRetrieve'});

But when I click the SendCommand button both processes run at the same time, where I need the ibootRetrive to run several seconds later.

Thanks for any help.

This post has been answered by InoL on Sep 17 2024
Jump to Answer
Comments
Post Details
Added on Sep 17 2024
5 comments
560 views