Skip to main content

The Activity component

The Activity component

The Activity component represents any work process for an interaction. Activities can reference actual processes such as add customer, close account, and update customer information. Activities can also reference back-end work to allow the solution to flow and function, such as refresh windows and search database.

The Activity component can use parameters to pass needed information through to each project to complete the activity successfully. You add the Activity component to the global container where you have access to manage the activity through its methods in the Object Explorer.

Pega Robot Studio queues each activity when started within an automation. The activity completes once all processes across the solution complete. You develop the automations to queue and time the activities using the activity methods and parameters.

The following table lists common methods for activities.

Method

Description

CancelActivity

Use this method to stop an activity if the activity hangs for a WaitForCreate method within an automation.

Start

Use this method to queue the activity for the current interaction.

StartNow

Use this method to add the activity to the top of the queue. Any currently running activity does not stop.

StartAndWait

Use this method to place an activity at the bottom of the activity queue and then block the automation from proceeding until the activity has reached the top of the queue and has executed completely.

StartNowAndWait

Use this method to place an activity at the top of the activity queue and then block the automation from proceeding until the activity has executed completely. Any currently running activity does not stop.


This Topic is available in the following Module:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice