Manage Process Filters, which are pre-configured Process Instance queries.

Class members

Methods

Inject Preference service

Token: PROCESS_FILTERS_SERVICE_TOKEN A DI token that maps to the dependency to be injected.

Process Filter Cloud Service is by default injected with the Local Preference Cloud Service

import { NgModule } from '@angular/core';
import { LocalPreferenceCloudService, PROCESS_FILTERS_SERVICE_TOKEN } from '@alfresco/adf-process-services-cloud';

@NgModule({
    imports: [
        ...Import Required Modules
    ],
    providers: [
        { provide: PROCESS_FILTERS_SERVICE_TOKEN, useClass: LocalPreferenceCloudService }
    ]
})
class ExampleModule {}

If you would like to inject the User Preference Cloud Service, you can inject the service like below shown

import { NgModule } from '@angular/core';
import { UserPreferenceCloudService, PROCESS_FILTERS_SERVICE_TOKEN } from '@alfresco/adf-process-services-cloud';

@NgModule({
    imports: [
        ...Import Required Modules
    ],
    providers: [
        { provide: PROCESS_FILTERS_SERVICE_TOKEN, useClass: UserPreferenceCloudService }
    ]
})
class ExampleModule {}

See also

© 2023 Alfresco Software, Inc. All Rights Reserved.