Discussion

887
Views
SANDY2110 Member since 2013 1 post
Cognizant Technology Solutions
Posted: 2 years ago
Last activity: 2 years 3 months ago

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
[OpenSpan.TypeManagement.DynamicTypeAttribute()]
[OpenSpan.Design.ComponentIdentityAttribute("Script-8D584F6BD1A4E63")]
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
Share this page LinkedIn