Does anyone have a powershell script that can trigger a workflow to run from the gallery? I'm a server admin and gallery curator.
I'm not familiar with powershell scripting and I already tried Gemini to generate the script, but no dice. I've triggered gallery workflows to run using the api tools within workflows, but never done it using a powershell script on the server where the gallery resides.
Problem I'm trying to solve:
We have a series of workflows that need to be triggered in sequential order AND each successive workflow can only be run when the previous workflow has been completed. My approach was to add a "run on no errors" event at the end of each workflow that triggers a powershell script that triggers the next workflow via gallery api.