0

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?

  • unless you are using third party tools, Workflows can only be managed with SSOM, What are you trying to accomplish? , can't you just use SP Designer Workflows ? – Mike Dec 12 '17 at 22:12
  • Hey there, by client requirement I must use only CSOM to accomplish this. I need to create approval workflows... So, are you saying is not possible working with workflows using CSOM? – Carlos M Dec 12 '17 at 23:40
  • not as a "workflow" what you need is a remote event receiver – Mike Dec 13 '17 at 15:11
0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.