You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
def parameters = [:]
|
|
parameters["id"] = tenant.id
|
|
|
|
def tenants = datasources.query("data-entity-tenants").scope(contextScopeId, contextScopeTag).parameters(parameters).list();
|
|
|
|
!!tenants[0] ? tenants[0] : tenant |