Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Masterdata
RU
Last activity: 10 Jan 2020 9:52 EST
Why does Robotic Automation Studio can't see methods in script?
I created a script with several methods, but the studio throws warnings that the script should contain methods. What could it be?
On the screenshot are shown those warnings.
***Moderator Edit-Vidyaranjan: Updated Platform Capability***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Infosys
IN
Post image of the script what is written?
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
RPA/RDA Practitioner
US
Right click on the script and select Validate. Then clean, rebuild and check for it under script > methods in the object browser.
See attached image.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Masterdata
RU
I validated script several times and clean and rebuilt solution and project, but it didn't help. I have the same issue after this manipulations
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
NiSource
US
I am having this exact same issue - and with a script that's been working for years. All of a sudden the method in the script isn't recognized by Pega Robotics. Please advise as to the possible cause and a fix for this issue.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
RPA/RDA Practitioner
US
If you can share the script, multiple people can help review and optimize it. Someone may see the issue.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689966000/8f6df811-ba11-4fa1-abb3-012b547c823d.jpg?itok=lHCJKbmt)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689966000/8f6df811-ba11-4fa1-abb3-012b547c823d.jpg?itok=lHCJKbmt)
Pegasystems Inc.
US
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Emtec Inc
IN
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Infosys
US
Did anyone figure out why the scripts are not displaying? I have exactly the same issue with some new scripts I wrote. The scripts are in a global container immediately below the project level. The automations are also in a folder under the project level. I have successfully validated the scripts, and then cleaned and rebuilt the solution. I still cannot see the script names as methods under the script objects in object explorer.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-05/1f77a272-b558-4261-964a-0a7d028c27c5.jpg?h=436c2321&itok=Ilx-4hBN)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-05/1f77a272-b558-4261-964a-0a7d028c27c5.jpg?h=436c2321&itok=Ilx-4hBN)
Pegasystems Inc.
US
You can't use static methods in a script.
-
Dimple Julyani