Files
alfresco-ng2-components/docs/process-services-cloud/services/process-list-cloud.service.md
Silviu Popa 0b1e5d31d8 [ADF-4155] ProcessServiceCloud - show AppList when service is missing (#4462)
* [ADF-4155] ProcessServiceCloud - show AppList when service is missing

* [ADF-4155] - lint

* [ADF-4155] - move docs content

* [ADF-4155]  - reset unnecesary doc file changes

* [ADF-4155] - fix unit tests

* [ADF-4155]  AppListCloudComponent -  Fix unit test

* [ADF-4155] - remove calls reset

* [ADF-4155] - skip app list test

* [ADF-4155] - fix unit test

* [ADF-4155] -  app- list unit test
2019-03-25 11:01:43 +00:00

38 lines
1.6 KiB
Markdown

---
Title: Process List Cloud Service
Added: v3.0.0
Status: Experimental
Last reviewed: 2019-02-06
---
# [Process List Cloud Service](../../../lib/process-services-cloud/src/lib/process/process-list/services/process-list-cloud.service.ts "Defined in process-list-cloud.service.ts")
Searches processes.
## Class members
### Methods
- **getProcessByRequest**(requestNode: [`ProcessQueryCloudRequestModel`](../../../lib/process-services-cloud/src/lib/process/process-list/models/process-cloud-query-request.model.ts)): [`Observable`](http://reactivex.io/documentation/observable.html)`<any>`<br/>
Finds a process using an object with optional query properties.
- _requestNode:_ [`ProcessQueryCloudRequestModel`](../../../lib/process-services-cloud/src/lib/process/process-list/models/process-cloud-query-request.model.ts) - Query object
- **Returns** [`Observable`](http://reactivex.io/documentation/observable.html)`<any>` - Process information
## Details
Note that for a call to `getProcessByRequest`, the
[`ProcessQueryCloudRequestModel`](../../../lib/process-services-cloud/src/lib/process/process-list/models/process-cloud-query-request.model.ts) object
must at minimum have the `appName` property correctly set.
## Activiti 7
If you are generating a project for activiti7 you need to add in the **app.config.json** the list of the apps that you desire to use.
For example :
```json
"alfresco-deployed-apps" : [{"name": "simple-app"}]
```
For more information about the app list component refer to the [documentation](https://github.com/Alfresco/alfresco-ng2-components/blob/development/docs/process-services-cloud/app-list-cloud.component.md)