> For the complete documentation index, see [llms.txt](https://doc.bitbrowser.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.bitbrowser.net/bitcloudphone/bitcloudphone-android/rpa-guide/guide-graphic/rpa-workflow.md).

# RPA Workflow

### New Workflow

* RPA  →  Phone Profiles → Click  **New Workflow**

<figure><img src="https://1346224839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDG17bXYc9SCTUw90LCSz%2Fuploads%2FGfLrTXuSYv4Ai4zQluBG%2Fimage.png?alt=media&amp;token=61a07bc4-78d3-4356-93ca-1be51b1674f8" alt=""><figcaption></figcaption></figure>

* Enter the process designer for custom arrangement.  \
  The left sidebar provides various operation elements such as opening apps, installing applications, and file upload. You can freely combine and design RPA processes according to business requirements.

<figure><img src="https://1346224839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDG17bXYc9SCTUw90LCSz%2Fuploads%2FEfIdIB92zdDEkc84M5qM%2Fimage.png?alt=media&amp;token=ff3eea82-e77d-4918-8e58-0a2f24ac0faa" alt=""><figcaption></figcaption></figure>

* A Debug Run button is located in the upper-right corner of the designer. Click it to select a cloud phone environment. After connecting to the device, you can view the screen in real time and select elements to debug the process.

<figure><img src="https://1346224839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDG17bXYc9SCTUw90LCSz%2Fuploads%2FocT5du7lAI6wTNiiIFiY%2Fimage.png?alt=media&amp;token=03597e64-c22c-4502-8ef3-433b6d7a1e38" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1346224839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDG17bXYc9SCTUw90LCSz%2Fuploads%2FSSJaX0HqLHrUVQDBepxh%2Fimage.png?alt=media&amp;token=05a4c248-c47a-496b-9e71-feaba040d3e7" alt=""><figcaption></figcaption></figure>

* Select the required operation elements and drag them directly to the blank area of the page with the mouse.  \
  Elements will be automatically connected with dashed lines. After layout is completed, you can configure the parameter variables for each element respectively.

<figure><img src="https://1346224839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDG17bXYc9SCTUw90LCSz%2Fuploads%2FQiXRCiukVfk8NjJJ8D9T%2Fimage.png?alt=media&amp;token=ae5a94b8-d806-4abc-8339-97254275ba5b" alt=""><figcaption></figcaption></figure>

* After selecting an element, a pop-up window for parameter and variable settings will appear on the left for configuration as needed.  \
  Take the click element as an example for illustration:

<figure><img src="https://1346224839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDG17bXYc9SCTUw90LCSz%2Fuploads%2FEXoApzD0JdId77V4ajoo%2Fimage.png?alt=media&amp;token=39c7cbae-69d1-46ac-83c5-a462812171c6" alt=""><figcaption></figcaption></figure>

* In debug mode, you can quickly select element variables. For instance, when choosing the "Like" function, the corresponding variable information will be displayed.
* After selection, the content will be automatically filled into the element query condition box without manual input. The same operation applies to other elements.

Exception Handling

Default: Follow global rules by default.

* **Skip**: Continue executing the task when an exception occurs.
* **Interrupt**: Terminate the process immediately and stop running upon an exception.
* **Execute Exception Process**: Trigger specified operations when an exception occurs. If no corresponding operation is selected in the pop-up window, the setting will be deemed invalid and the process will be interrupted directly.

<figure><img src="https://1346224839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDG17bXYc9SCTUw90LCSz%2Fuploads%2Fvzi0H0Dn07WeBU0w9GKb%2Fimage.png?alt=media&amp;token=737734ab-671f-4e58-aa40-9079e6fc8ece" alt=""><figcaption></figcaption></figure>

* After completing the settings of the element node, click **Run Node** at the arrow position shown in the figure above to perform debugging.
* After finishing the process design, please remember to click the **Save** button in the upper-right corner of the designer to save your work.

<figure><img src="https://1346224839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDG17bXYc9SCTUw90LCSz%2Fuploads%2Fdu4FxUhpmChLUj16Ps6I%2Fimage.png?alt=media&amp;token=29e6f790-69c2-46b7-9664-a73458e62245" alt=""><figcaption></figcaption></figure>

* Successfully created RPA processes will be saved in the **Workflow Management** list on the client side, where you can perform subsequent management operations such as editing and deletion.

<figure><img src="https://1346224839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDG17bXYc9SCTUw90LCSz%2Fuploads%2FBwLyew3Os7tSR79GfndF%2Fimage.png?alt=media&amp;token=3b571faf-2319-4a80-af72-304f72a01183" alt=""><figcaption></figcaption></figure>

### Precautions

* When selecting a cloud phone environment for operation and debugging, only **Computing Power 12/15** models are available, and the cloud phone must be in a running state.
* When executing a node or a full process, the debug status of the cloud phone must be **Running**. If not, please click **Start Debugging**.

<figure><img src="https://1346224839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDG17bXYc9SCTUw90LCSz%2Fuploads%2FF6LYqXNZNDMJ2jJxdubP%2Fimage.png?alt=media&amp;token=6f6073bb-bc2c-4554-a1d5-26d028f46f94" alt=""><figcaption></figcaption></figure>

* A complete RPA process design must start with the **Process Start** element, and all elements must be connected sequentially via dashed lines. Any broken connection will cause the process to fail to run.

<figure><img src="https://1346224839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDG17bXYc9SCTUw90LCSz%2Fuploads%2FhcnmoDWKmrkhnhOIJBfM%2Fimage.png?alt=media&amp;token=ea740ab8-9e9c-4b83-8f5d-8331763860e7" alt=""><figcaption></figcaption></figure>

* Do not open the cloud phone that is in debugging state on other terminals; otherwise, the debugging will fail.
