Go to Robotic Automation version 22.1 documentation

Signal Component

Signals can be used in all solutions to control execution flow when multiple threads occur during the course of an automation. In particular, if two execution flows are triggered by two events (events occur on different threads), the Signal component can be used to allow the two execution flows to communicate. For more information, see General Component Properties, Methods, and Events.

 

Properties

Property

Description

Name

The design name of the component in the solution. You can rename the component.

 

Methods

Method

Description

Parameters

Return Type

Wait

Use this method to wait a specific interval of time, specified in milliseconds, for a signal from another thread. The Wait interval is renewed each time the method receives an event input.

True is returned if a signal is received before the Wait period elapses. False is returned when the Wait period has lapsed and a signal was not received.

 Int (milliseconds)

Boolean

SignalAll

When a thread calls Wait, it is held in a queue by the Signal component. Use this method to send a signal event to all threads in the queue.

None

Void

SignalOne

When a thread calls Wait, it is held in a queue by the Signal component. Use this method to send a signal event to the first thread in the queue.

None

Void

 

Related information

Using the Signal Component

 


Privacy | Trademarks | Terms of Use | Feedback

Updated: 01 July 2024

© 2016 - 2024 Pegasystems Inc.  Cambridge, MA All rights reserved.

 

OpenSpan data classification label