Losing state when Toolbox js is running

Hey, im having som trubble with running a JS to calculate salary on a Thing.

I have build a RE that handle the prosess as follows

  1. Display Thing to RE
  2. Set Json
  3. Run JS
  4. When JS Event = Update displayed Thing.

Im losingin the Thing between step 3 and 4, and i cant figure out why.

(I have a solutin where i push the shift ID to url and search for it in step 4… but why is the state lost?)

It is hard to figure out the problem from is shown above, can you give details of:

  • The other workflows (I assume the screenshot is step 4?)
  • The javascript
  • Are these terms all referring to the same? Thing, state, shift

This topic was automatically closed after 70 days. New replies are no longer allowed.