Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Harriat
Contributor
Contributor

Null Value Issue in "Get Variable" Block

Hi,

In my Qlik automation, I’m using the "Get Variable" block to retrieve a variable from an app using the App ID and Variable ID. Occasionally, the block behaves unexpectedly:

  • It returns a null value instead of the expected 0 or 1 ,which causes issues in subsequent automation steps.

This happens randomly, and when I manually run the automation again, it works fine.

Question:

Is there a way to fix this issue permanently? Or any workaround to ensure the "Get Variable" block always fetches the correct value (0 or 1) and doesn't pass with a null value??

Thanks in advance for your help!

Labels (2)
1 Reply
maltasa
Contributor
Contributor


@Harriat wrote:

Hi,

In my Qlik automation, I’m using the "Get Variable" block to retrieve a variable from an app using the App ID and Variable ID. Occasionally, the block behaves unexpectedly:

  • It returns a null value instead of the expected 0 or 1 ,which causes issues in subsequent automation steps.

This happens randomly, and when I manually run the automation again, it works fine.

Question:

Is there a way to fix this issue permanently? Or any workaround to ensure the "Get Variable" block always fetches the correct value (0 or 1) and doesn't pass with a null value??

Thanks in advance for your help!


The issue with the "Get Variable" block returning a null value could be due to timing or a race condition in your automation. To resolve this, try adding a delay or a retry mechanism before fetching the variable.