Scenario:
Using a main process to call a sub-process, with parameters passed in and received during the process.
Recommendation:
Use the RPA sharing code below to import the process into your own process list. The example mainly explains the key steps and overall approach; If you need other steps, please explore them on your own.
Main process share code:
AdsPowerRPA_Plus I'm sharing the task flow with you. To get the flow, navigate to AdsPower's RPA Plus [Processes] section, click the [Get process] button and enter the code: Udn3FRvmRuocg
Sub-process share code:
AdsPowerRPA_Plus I'm sharing the task flow with you. To get the flow, navigate to AdsPower's RPA Plus [Processes] section, click the [Get process] button and enter the code: tG5qqqQ9Pzyeb
Instructions
Sub-process

-
In the sub-process, the Start Process node includes a parameter named main_url, which is used to receive the parameter passed from the main process.
-
The website is accessed using the value of this variable.
-
Wait for the search box on Google to appear, and store the result in the variable isShowSearch.
-
Use the Export Variable feature in Manage Variable to export the isShowSearch variable to the main process. Multiple variables can be exported in this way.
Main Process

-
In the main process, use Manage Variables → Add Variable to create a new variable named url, with the value https://www.google.com.
-
Then use Apply Created Process to call the sub-process. The sub-process’s global variables will be listed automatically. Pass the url variable into the corresponding parameter.
① This completes the parameter passing from the main process to the sub-process.
② There will also be a return value, which stores the collection of variables exported from the sub-process. This return value is an object. -
Use Extract Field to extract isShowSearch from the object.
-
Finally, use the extracted variable in the main process according to your needs.