Solved

Infopath Form K2 Five intrergation

  • 10 October 2019
  • 5 replies
  • 0 views

Hey everyone,

 

I am struggling with Infopaths so thought to ask if anybody in that position. So i would like to share my concenrs.

I got an infopath, published in a document library (since K2 five doesnt support form library). When a click new infopath form and the opens in browser ,when submitting the workflow doesnt start.

When i submit via infopath designer tool the workflow is triggered.

 

Workflows trigger is when item is added. So..any thoughts why in broswer infopath doesnt trigger workflow?

 

Best regards,

Efthimis

icon

Best answer by Widson 11 October 2019, 15:59

View original

5 replies

Badge +7

Hi  @EfthimiosDellis ,

 

For your requirements, you will need to build a custom solution to trigger the K2 workflow. There are 2 basic ways you can start a workflow, from the Client API  or via a web service (WCF, REST). In either case, it is going to require some level of custom coding to achieve as you will need to programmatically watch your folder for changes and then start the workflow. A windows service would be a good candidate for this.

 

Have a look at the K2 developer reference for further details:

 

Workflow Runtime APIs and Services

 

How to set data fields and start an instance of a process

 

Starting workflow with the SOAP WCF service

Badge +9

Hi EfthimiosDellis


 


I hope this link below will help you:


https://help.k2.com/kb000107


 


https://help.k2.com/kb000193


 


Regards


Elvis

Thanks for your reply.
After creating topic i found out that when i post infopath from explorer , my K2 Five Workflow gets triggered. That doesnt happens via Chrome. So at least there is a hint :)

Kind regards,
Efthimis

Hi our supported browser is IE 11. as for Chrome
Tested(supported) on version: 58.0.3029.96


 


ref(https://help.k2.com/k2compatibilitysupportmatrix)

So thats why i got an issue with my Chrome Version 77.0.3865.90 !
Thanks so much

Reply