I am using SharePoint Designer 2013. I have a list of items and a form used to populate that list. When an item is created I have a workflow that is started that sends an approval request on that particular item. Once the item is approved/rejects then it moves on in the workflow to a condition. In the condition, if the item was approved I need it to run a power shell script that I have.
I have been looking all over for a solution to this without any luck. I have found this article that does what I need within a web part but I don't think that is what I need since I already have a form that is used for filling the list (unless I am misunderstanding how I could use a web part here). I have also taken a look at the workflow extension here but it is out of date.
The only other idea that I have seen is possible creating a web service to run the power shell script once the workflow calls an HTTP service action.
Has anyone had any luck performing the action that I am looking for?