How can I get vaule from integration match rule and save into a variable?

I did an integration with Pega Robot Studio. I need to get value from matching rule and save it into a variable.

Please attached.

I want to get the value 1 and save it into variable.

@HuiW17144569

To get a value from an integration match rule and save it into a variable in Pega Robot Studio you can follow these steps: 1. Use the appropriate match rule to identify the control from which you want to extract the value. For example you can use the Attribute Value match rule Property match rule or Control Children match rule depending on your specific requirement. 2. Once the control is matched you can use the GetValue method to retrieve the value from the control. 3. Assign the retrieved value to a variable within your automation. Here is a simplified example: csharp // Assuming ‘control’ is the matched control string value control.GetValue() // Save the value into a variable string myVariable value This approach ensures that the value from the matched control is correctly retrieved and stored in a variable for further use in your automation.

:warning: This is a GenAI-powered tool. All generated answers require validation against the provided references.

Universal Web adapter match rules

Working with Match rules

Match Rule best practices

@ThomasSasnett is this a Robotics question?

@HuiW17144569 When you interrogate a control and apply match rules, the control is added to the Application hierarchy in the Palette. Depending on the type of control is how you might get data from it. If it is a text box or label, then you can use the text property of the control. You access the properties (method and events) of a control by dragging that control from the palette out to the automation surface.