Check if there any running bundletask that will affect given role
public static getActiveTaskIdByRoleId ( integer $roleId, integer $envId, string $object ) : integer | boolean | ||
$roleId | integer | Identifier of Role |
$envId | integer | Identifier of Account |
$object | string | Object of BundleTask (role, image) |
return | integer | boolean | Returns identifier of the Active BundleTask that matches the specified criteria or false otherwise |