Skip to content

wsSetContext (wsCONNECT)

Compatible with:
  • Purpose
  • This command is used to specify to Worksoft SaaS the "wsCONNECT tunnel" (that is operating within your company's firewall) that will service the triggering of services mentiond within the current wsBlock.
  • As a security best practice, Worksoft SaaS does NOT need to know any more information (IP addresses, host names ,  usernames , passwords, etc) of the services (behind your company's applications (AUTs) and behind your firewalls) beyond the alias name(s) you give to those web server. 
  • The " ws .json" file that drives the wsCONNECT tunnel (operating within your company's infrastructure) is where you can specify the all the agove details and assign a ' ws alias name' which then you'd use safely in Worksoft SaaS. Since ws .json is on your company's network, Worksoft SaaS cannot access these settings. 
  • The "wsCONNECT Tunnel Name" is a name you give to your wsCONNECT Tunnel when you start the Tunnel. The name you give must be unique.
  • Syntax
  • wsSetContext(wsTunnelName, wsAliasName)
  • Target
  • wsCONNECT Tunnel Name
  • (This is also sometimes referred to as wsTunnelName)
  • Value
  • wsAliasName
  • Return Value
  • N/A

Example(s):

Click here to see the example


 

Feedback and Knowledge Base