Citrix - Automations
Automations in Citrix projects are subject to certain design rules dictated by applications context.
Initiating Events – The initiating event for the automation logic dictates the context of the automation. The automation must be placed in the same context as the application control which initiates the automation logic.
Executing Automations – You can use Entry points along with the Automation.Execute() method to run an automation in another context. Note that the control which triggers an Exit point must exist in the same context as the automation calling the Entry point.
See the sample automations below to see illustrations of these design requirements.
Initiating event sets automation context
This example shows a project with two Windows applications (Calculator and Notepad). The Notepad application runs in the Citrix context and Calculator runs locally. In this project, the M+ button on the Calculator pushes text to Notepad. The initiating event for the automation logic is the Calc.Button.Click. Since the Calculator application is running in the Local context, this automation should be in the Local context as well.
Executing automations across contexts
You can use Entry points along with the Automation.Execute() method to run an automation in another context. Note that the control which triggers an Exit point must exist in the same context as the automation calling the Entry point.
Privacy | Trademarks | Terms of Use | Feedback
Updated: 18 June 2020
© 2016 - 2020 Pegasystems Inc. Cambridge, MA All rights reserved.