Hello,
I'm trying to create an addin which contains a button. When pressed, this button will launch a Workflow Manager job in Pro. First, I gather I need to be able to get a WorkflowClientModule, or create a WorkflowConnection (I'm still a bit unsure). However on the WorkflowModule.ConnectAsync() method, a caveat reads "A workflow connection instance should already exist in the project. If not, add a workflow connection prior to calling this method." How would I do this?
I notice that I need to select both a portal and a workflow item in Pro, if I were to do this manually. I'm not sure how to do this using the SDK.
I'm already a bit confused, because a lot of the documentation out there is for Workflow Manager (Classic). Thank you in advance!