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!

Make "Execute JavaScript Code" Dynamic Action wait for vlaues from "Set Value" Dynamic Action

Phil7GAug 17 2021

Hey,
is it possible to make an "Execute JavaScript Code" Dynamic Action wait for values from "Set Value" Dynamic Action(s) (values are coming out of SQL Statements)?
These are the Dynamic Actions (On Change of Select List, Item != NULL which is the Null return value)
grafik.pngFirst Javascript clears xAxis min & max, "Clear" clears P11_NEW and P11_NEW_1, "Set value" gives the values to P11_NEW and P11_NEW_1 and second Javascript gives the values to xAxis min & max (as shown below).
grafik.pngI'm using a button to refresh the region. In most cases, this works, but if the SQL queries take too long to get the values (my guess), I'm getting something like this:
grafik.png(xmin and xmax are in javascript format -> milliseconds from 1970-01-01 until now).

This post has been answered by Phil7G on Sep 14 2021
Jump to Answer
Comments
Post Details
Added on Aug 17 2021
1 comment
784 views