Tenants and Subtenants

Content under development

A tenant is the place where all your flows, values, service integrations and content are stored, and accessed from using the ManyWho Drawing Tool.

A subtenant is a new tenant under the same tenant account. Subtenants do not have visibility into the content, flows, values, or service integrations of the tenant (and vice versa).

You can use different subtenants for different divisions of your company. For example, separate subtenants for HR and Accounting. Subtenants can also help to organize your project, for example, you can logically separate out deployment environments into Development, Staging, and Production.


If the logic gets too varied, it may be more appropriate to package and deploy the Flow into another Tenant/Sub-Tenant – effectively cloning it so the Flows don’t get unmanageable. It’s important to note that when you package and deploy a Flow into another tenant, all of the unique identifiers of all of the Elements in the Flow remain the same. So if you make a change in one Flow, you can replicate that change in other Tenants simply by copying and pasting the changed Element JSON.
Tenants and Sub-Tenants
When organizing your project, it can be useful to have Tenants and Sub-Tenants to separate out changes. A few reasons you might do this:

You have a set of template Flows that you want to keep as the “master” version. You then deploy these template Flows into another tenant if it’s not adequate for a particular use-case. You can easily package and deploy the template Flows into as many other Tenants as you like. This can also be helpful if you want to “clone” the Flow for any reason.
You want to logically separate out deployment environments into: Development, Staging, Production, etc. If this is the case, you should always make changes in the Development tenant as moving packaged Flows “up the stack” will overwrite changes. If you have to make a change in Production/Staging, you’ll need to rigorously ensure you make that same change in Development or the next time you package and deploy, it will be lost (or more accurately, it will be in a historic snapshot, but it will take a lot more effort to find it and merge it back).
You want to restrict access to certain Flows to particular team members, groups or customers so changes are not made inadvertently by another user. A Tenant and its Sub-Tenants currently share the same identity access rights. So authoring users in the main Tenant can provision themselves into a Sub-Tenant without requesting access (currently). Separate Tenants have separate permissions.
Some things to point out about Tenants and Sub-Tenants:

Tenants can all talk to the same database (through Services). So you can have many different tenants acting on a central data repository.
Tenants and Sub-Tenants are basically the same – however – you can login to a Tenant and its Sub-Tenants using the same password (with a slightly changed username: username@{sub-tenant name}+{tenant name}.manywho.com. Tenants all have different usernames/passwords so you need to manage multiple credentials.
Recommendations:

Have a Tenant for the generic Flows and each industry. So a Tenant for each industry that holds the generic Flows that should be used by all “standard” customers. Under each Tenant, there should be a sub-tenant for Development, Staging, and Production.
Have a Tenant for each customer that various from the standard template.
If you are packaging a Flow and deploying into another Tenant, treat this as a one-time operation if you are planning to edit the Flow in the target Tenant. When a package is deployed, it overwrites all changes in the target Tenant. As a result, any changes made by Flow builders will be lost (though can be found through querying the SnapShot API).


Check out the ManyWho glossary for a definition of terms and key concepts that appear in the ManyWho website, Drawing Tool, technical documentation, blogs, and marketing communications.

If you need to take a closer look, click on the images to enlarge them. Have a question? Click the Help button on the bottom right-hand corner of this page to ask.