How to run workflows on records entered through custom forms?

ramana kv asked on April 5, 2015 07:14

Hi, From the demo, what I understand is that we can run workflows only on pages (content approval workflow). Is there any way I can run an approval workflows on records entered through custom forms?

Recent Answers


Virgil Carroll answered on April 6, 2015 04:19

You would have to tie into the forms events and programmatically run the workflow I believe. Check this link out https://docs.kentico.com/display/K8/Reference+-+Global+system+events#Reference-Globalsystemevents-BizFormItemEvents

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on April 6, 2015 13:36

Can you specify what you mean by "custom forms"? Are you talking alternative forms for Page Types or forms from the Forms application (BizForms like Contact Us)?

If Page Type alternative forms, these should be handled automatically. If talking Forms (BizForms), then what Virgil suggested is by far the best route. I'd also suggest cloning the Form webpart and adding some additional checking to ensure that any required fields are available before saving. If you plan to do your own workflow on these forms I'm assuming you'd need to have some type of field(s) that store the state, date and who put the form in workflow. You could also use a global event handler to ensure the fields are added, its up to you.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.