I'm trying to create approval workflow with CSOM, I've found information on how to start or stop a workflow but I haven't found how to create and apply conditions through CSOM, is there any example or approach you know to accomplish this?
We can start and stop the workflow by CSOM. And get data from workflow by CSOM.
But we cannot add conditions into workflow by CSOM.
In other words, we cannot edit the workflow such as add conditions and actions by CSOM.
We can add conditions into workflow by SharePoint designer.