Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
bmac1
Partner - Contributor II
Partner - Contributor II

Document Chaining occasionally not passing DocumentName variable in ACCESPOINT.

Hello!

At my company we are seeing an issue with our QV applications where DocumentChaining will sometimes fail, returning a 'Failed to open document, file not found.'

When you go from APP1 to APP2, we use the transfer state option to transfer the value of the APP1 DocumentName() to APP2, so that the user can then return to APP1 with an Open Qlikview Document action.

The problem is, it seems this variable sometimes does not get transferred from APP1 to APP2, resulting in a null variable value in APP2.

Both apps have the variable stored in the variable editor and are in the same path. It also works flawlessy in Desktop Client.

We are using APRIL 2020 SR3 QV version, is anyone aware of any bug with this version causing variables not to be transferred via document chaining and transfer state option? Does anybody know of a workaround?

 

Labels (1)
1 Solution

Accepted Solutions
marcus_sommer

Qlik is extremely multi-threaded and working much with cached values. This means each user-interaction might be distributed into n threads which are parallel processed and depending on the workload they may finish in a random order and without mandatory waiting on each other. 

Therefore any required dependencies between the threads might be not fulfilled each time. It happens often by adding multiple actions to a single trigger but also by combining selections and/or variables and/or bookmarks (not to forget session recovery) and/or mixing internal + external measurements it may occur.

Beside the above you may to consider to move the variable-value into a field-logic and loading documentname() within an island-table and grabbing then the value from there.

View solution in original post

2 Replies
David_Friend
Support
Support

Hi @bmac1 not sure about that issue, however wanted to point out that version is 4 years old, I'd suggest upgrading to a modern version, and see if the issue persists...

marcus_sommer

Qlik is extremely multi-threaded and working much with cached values. This means each user-interaction might be distributed into n threads which are parallel processed and depending on the workload they may finish in a random order and without mandatory waiting on each other. 

Therefore any required dependencies between the threads might be not fulfilled each time. It happens often by adding multiple actions to a single trigger but also by combining selections and/or variables and/or bookmarks (not to forget session recovery) and/or mixing internal + external measurements it may occur.

Beside the above you may to consider to move the variable-value into a field-logic and loading documentname() within an island-table and grabbing then the value from there.