1e41f4b71Sopenharmony_ci # RunningAppClone (System API)
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ciThe RunningAppClone module defines the information of an application clone in the running state.
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci> **NOTE**
6e41f4b71Sopenharmony_ci>
7e41f4b71Sopenharmony_ci> The initial APIs of this module are supported since API version 12. Newly added APIs will be marked with a superscript to indicate their earliest API version.
8e41f4b71Sopenharmony_ci>
9e41f4b71Sopenharmony_ci> The APIs provided by this module are system APIs.
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ci## Properties
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ci**System API**: This is a system API.
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Ability.AbilityRuntime.Core
16e41f4b71Sopenharmony_ci
17e41f4b71Sopenharmony_ci| Name                     | Type  | Mandatory | Description      |
18e41f4b71Sopenharmony_ci| ------------------------- | ------ | ---- | --------- |
19e41f4b71Sopenharmony_ci| appCloneIndex | number | Yes | Index of an application clone.|
20e41f4b71Sopenharmony_ci| uid | number | Yes  | UID of the application.|
21e41f4b71Sopenharmony_ci| pids | Array\<number> | Yes | Process ID set of the application.|
22e41f4b71Sopenharmony_ci
23e41f4b71Sopenharmony_ci## How to Use
24e41f4b71Sopenharmony_ci
25e41f4b71Sopenharmony_ciThe RunningAppClone struct is obtained from [getRunningMultiAppInfo](js-apis-app-ability-appManager-sys.md#appmanagergetrunningmultiappinfo12) of **appManager**.
26e41f4b71Sopenharmony_ci
27e41f4b71Sopenharmony_ci**Example**
28e41f4b71Sopenharmony_ci
29e41f4b71Sopenharmony_ci```ts
30e41f4b71Sopenharmony_ciimport { appManager } from '@kit.AbilityKit';
31e41f4b71Sopenharmony_ciimport { hilog } from '@kit.PerformanceAnalysisKit';
32e41f4b71Sopenharmony_ciimport { BusinessError } from '@kit.BasicServicesKit';
33e41f4b71Sopenharmony_ci
34e41f4b71Sopenharmony_citry {
35e41f4b71Sopenharmony_ci  let bundleName = "ohos.samples.etsclock";
36e41f4b71Sopenharmony_ci  appManager.getRunningMultiAppInfo(bundleName).then((info: appManager.RunningMultiAppInfo) => {
37e41f4b71Sopenharmony_ci      hilog.info(0x0000, 'testTag', `getRunningMultiAppInfo success`);
38e41f4b71Sopenharmony_ci    }).catch((err: BusinessError) => {
39e41f4b71Sopenharmony_ci      hilog.error(0x0000, 'testTag', `getRunningMultiAppInfo error, code: ${err.code}, msg:${err.message}`);
40e41f4b71Sopenharmony_ci    })
41e41f4b71Sopenharmony_ci} catch (err) {
42e41f4b71Sopenharmony_ci  hilog.error(0x0000, 'testTag', `getRunningMultiAppInfo error, code: ${err.code}, msg:${err.message}`);
43e41f4b71Sopenharmony_ci}
44e41f4b71Sopenharmony_ci```
45