New to OpenIAP and trying to figure out to incorporate it into our stack - I have C# code that will schedule an appointment using a UI library. This code will sit on a local on prem computer and await a name, date/time request. Once received, it will use the UI library to perform actions such as opening the scheduling software, finding certain automation ID’s and completing the scheduling task. Let’s say there are 5 different locations (5 different on prem pc’s using diffferent scheduling software - each has c# code that will perform the scheduling action), how do we use OpenIAP to orchestrate this? Can the OpenIAP desktop assistant run this automation package if it relies on UI automation? Should I install the OpenIAP desktop assistant on each of the local on prem pc’s, then push different packages to each of the them via OpenIAP? Once we need to schedule someone to a respective office, we can then submit a work item to that package? Most importantly, can we run gui automation via the assistant? Any assistance is greatly appreciated! Would love to know if this is possible!
On remote computers, you have two options.
- nodeagent: runs as a service/daemon and by default cannot do UI automation (it can on Linux/macOS with some tweaks)
- assistant: runs as a normal application on the user’s desktop.
When you publish a package, you can grant the users the nodeagent is running as, or the users running the assistant access to those packages.
Once you have done that, you can run a package once by going to the package run page in OpenCore, or by clicking the package name in the assistant window.
You can also schedule packages on agents and assistants to run all the time or by a cron schedule, by editing the agent inside OpenCore.
Lastly, you can trigger a package by assigning an agent/assistant and package to a workitem queue (or create a package that listens on a message queue associated with a workitem queue, as in most of the examples of agent code show).
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.