Solved
can we call automation from c# script?
Can we call automation or invoke automation from c# script?
Can we call automation or invoke automation from c# script?
Accepted Solution
@AshKS We do not have a documented method to call an automation from C#. I assume that inside the script, you want to execute the automation and then get the results returned before moving on to the next step in the script. If so, there is not currently a way to do that. If you simply want to trigger the automation inside the script, you could do that by returning a value and then after the script checking that value before starting the automation.
@AshKSWe do not have a documented means of doing that. If you wish to invoke an automation externally, the only built-in way is via the Pega Platform. You could create a component that could trigger an event that you could respond to inside an automation.
A non-technical way would be to use a FileSystemWatcher component. This would watch a directory for a file and fire an event when one is created or changed. Your C# script or external component would create the file which would fire the event in the automation.
@ThomasSasnett I want to call the automation directly from script component that is inside pega solution it is not external.
Accepted Solution
@AshKS We do not have a documented method to call an automation from C#. I assume that inside the script, you want to execute the automation and then get the results returned before moving on to the next step in the script. If so, there is not currently a way to do that. If you simply want to trigger the automation inside the script, you could do that by returning a value and then after the script checking that value before starting the automation.
Question
Question Solved
Question Solved
Question
Question
Question
Question Solved
Question
Question
Question
Pega Collaboration Center 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.