Skip to Main Content

Analytics Software

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!

Use Variable value from package within the load plan

OnatGGJul 6 2021 — edited Jul 6 2021

Hello,
I have a simple package named as Test that assigns 1 if its success or 0 if its error to a variable based on mapping success:
image.png

And my load plan logic will use this 1 to run another procedure after passing the case when.
image.png

In my load plan I have no overwriting or refreshing, just I set the variables without touching.
However when I run the load plan without a mapping error, it still behaves like the variable is set to 0, but querying the repo or checking the history through the interface of that variable, I see 1 is assigned. Below is the load plan history, it did not go through case when step. It used ELSE. Also in this log my variable's current value is 0 starting from root_step entirely.
image.png
But variable is 1 :(!
image.png

So, is it not possible to set a variable value through package and use it inside the load plan? Does it set a default value for each session in load plan?
What am I doing wrong? Thank you very much.

Comments
Post Details