Using csom service brokers to talk to 0365 Sharepoint from K2 BlackPearl


Badge +1

Hi,

 

I have a few questions :

 

1. can we trigger a K2 workflow on item adding to a list present at o365 Sharepoint site.

2. I have a workflow that uses the smartobject of a o365 sp site and creates a subsite. Is it possible to provision this newly created subsite with lists, libraries etc. using the same workflow ?

 

Thanks in advance.

 


2 replies

Badge +7

1. Yes you can, in K2 for SharePoint when you are creating a workflow for your site.  See "Step3d1.png".


 


2.  I have not done this myself, but I do believe it's possible. 

Badge +1

Hi Jake,

 

Thanks for the response.  

 

I have a few further questions :

 

  1.  I am using k2 blackpearl trail enviornment. Can I install k2 for sharepoint  in my o365 sp site using that as my on prem k2 infrastructure ? 
  2.  Is is possible to create a service instance programmatically in a workflow using the server code event ? Do you have any references to K2 api and how to use them ?

Thanks.

Reply