Creating subroutines using Designer mode
Learn how to create subroutines using the Designer development view.
About this task
Use subroutines to divide concepts based on task scope. You can develop these subroutines using the Designer development view. Designer development view is the interface in IBM RPA Studio where you can develop your bot using interface elements. See more details in Designer mode.
Procedure
Creating a subroutine
Create a subroutine by using the New routine button.
- Log in to the IBM RPA Studio.
- Click the New routine button on the Home toolbar.
- In the Name field, enter the subroutine's name.
- Click Save.
Extracting a subroutine
Create a subroutine by extracting one or more commands in the script.
- Log in to the IBM RPA Studio.
- Select one or more commands to extract.
- Right-click in the selection, and click Advanced > Extract Routine.
- In the Name field, enter the subroutine's name.
- Click Save.
What to do next
After creating a subroutine, you can edit it by double-clicking on the subroutine in the Routines window and inserting any commands that you need to develop your tasks.