Article - CS351516

Unable to set value in a Session variable in Async service in ThingWorx 8.5

Modified: 26-Aug-2021   


Applies To

  • ThingWorx Platform 8.5

Description

  • Session variable value can be set using below function in a Javascript service, however it is not working if the service is a Async service:
Resources["CurrentSessionInfo"].SetGlobalSessionInfoTableValue(sessionParams);
  • No errors in Script logs, Async service executes but it does not set a value to session variable
This is a printer-friendly version of Article 351516 and may be out of date. For the latest version click CS351516