Question


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!


Infosys
IN
Post image of the script what is written?


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.


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


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.


RPA/RDA Practitioner
US
If you can share the script, multiple people can help review and optimize it. Someone may see the issue.


Pegasystems Inc.
US


Emtec Inc
IN


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.


Pegasystems Inc.
US
You can't use static methods in a script.
-
Dimple Julyani