Sandeep Gautam (SANDY2110)
Cognizant Technology Solutions
Principal DPA Consultant
Cognizant Technology Solutions
SANDY2110 Member since 2013 1 post
Cognizant Technology Solutions
Posted: April 1, 2018
Last activity: July 19, 2018
Posted: 1 Apr 2018 10:59 EDT
Last activity: 19 Jul 2018 15:42 EDT

Pega Robotics Get/Set Context Variable Value

*** Get/Set Context Variable Value Script ***
intMgr - InteractionManager Object
propName - Context Variable Name

using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using System.Xml;
using OpenSpan.Interactions.Controls;
using System.Text.RegularExpressions;

namespace Dynamic.Script_8D584F6BD1A4E63
// Script generated by Pega Robotics Studio 8.0.1072.0
// Please use caution when modifying class name, namespace or attributes
public sealed class Script
public string GetContextValue(InteractionManager intMgr, string propName)
return intMgr.GetPropertyValue(propName, "").ToString();
public void SetContextValue(InteractionManager intMgr, string propName, string propValue)
intMgr.SetPropertyValue(propName, propValue, "");

***Updated by moderator: Lochan to change post to discussion, add group tag***

Robotic Process Automation Developer Knowledge Share