clsGetTenantId Step

Last published at: May 14th, 2024


Gets the tenant id information.    


  • Tnconnection – Tenant manager connection string
  • Tnname – Tenant/Host Name
  • TnID – Variable / Global to store the tenant ID


  • True – step executed successfully
  • False – step failed to execute



Let’s build and execute the GetTenantIdDef example.    

  • Create a new definition called “GetTenantIdDef”
  • Select the definition and click the “design” button
  • Drag a clsgettenantid step to the canvas
  • Connect the dots between the start and clsgettenantid step 

  • Click on the “clsgettenantid” step to configure its properties
  • Configure the following values for the properties as shown on the below graphic

  • Save the workflow definition, create a workflow instance and execute.  Step will update the variable/global with tenant id.