Question

2
Replies
47
Views
Tom Overton (ThomasO0)
Union Bank
Senior Robotics Developer
Union Bank
US
ThomasO0 Member since 2016 7 posts
Union Bank
Posted: June 15, 2020
Last activity: June 23, 2020
Posted: 15 Jun 2020 14:02 EDT
Last activity: 23 Jun 2020 15:19 EDT
Closed

Openspan studio issue - 7.1.x will not use it's own Newtonsoft.json

Dear Pega,

In Openspan studio 7.1.x I can not get a script to see, and use Openspan's own Newtonsoft.json that comes installed.  I created the attached script to make my needed call to a JSO REST API.  I obtain the results, but I can not use JSON objects, and classes to desrialize the returned data.  You can't see that the last using statement says "using Netwonsoft.Json;".

I added screenshot showing Newtonsoft is in the references.

When I then click on the "Validate" button to validate the script it throws this attached error.

How do I fix this Openspan 7.1.x Studio issue so that I can use Newtonsoft.json in scripts?

      Thanks, Tom

 

***Edited by Moderator Marissa to update Platform Capability tags; update Pega Academy to Product****

Pega Robotic Desktop Automation 8.0 Robotic Process Automation
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.