Skip to main content
Solved

FSM gotoscreen lossing current reference

  • November 20, 2024
  • 2 replies
  • 35 views

Forum|alt.badge.img+4

Can anyone help me to understand why am I loosing the reference from the lastscreen controlkey ?

 

 

I’m not sure which one I should use: getcurrentkey or getcontrolvalue. For me is not clear. Anyhow it is not fetching the selected Attribute from the list. 

Any ideas ?

Best answer by IniNimesK

@RTTATOVAR what is the script you are using to navigate from the Hyperlink to the 2nd screen?

 

Without seeing that script I think there are two possible paths you can go,

 

  1. Use the keys 
    1. On the hyperlink script you can use ‘setCurrentKeys’ and then navigate to the new screen and it should populate the relevant data (from my experience this sometimes doesn’t work in some screen, hence I usually take the cache route)
  2. Using the cache
    1. On the hyperlink script set the next screen keys using the ‘setCache’ function.
    2. And on the target screen refresh script, use the ‘getFromCache’ and then use ‘setCurrentKeys’ function to set the current screen keys
View original

2 replies

Forum|alt.badge.img+6
  • Do Gooder (Partner)
  • 37 replies
  • Answer
  • November 28, 2024

@RTTATOVAR what is the script you are using to navigate from the Hyperlink to the 2nd screen?

 

Without seeing that script I think there are two possible paths you can go,

 

  1. Use the keys 
    1. On the hyperlink script you can use ‘setCurrentKeys’ and then navigate to the new screen and it should populate the relevant data (from my experience this sometimes doesn’t work in some screen, hence I usually take the cache route)
  2. Using the cache
    1. On the hyperlink script set the next screen keys using the ‘setCache’ function.
    2. And on the target screen refresh script, use the ‘getFromCache’ and then use ‘setCurrentKeys’ function to set the current screen keys

Forum|alt.badge.img+4
  • Author
  • Do Gooder (Customer)
  • 16 replies
  • December 11, 2024

 

Thank you all,

I used set and get from cache to solve this problem.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings