There is a very good article with working code available on below link, which shows how to create triggers dynamically from apex classes by using tooling API:


Similar to this, I would like to generate a workflow dynamically from a Visualforce Page 's custom controller.

If anyone has done similar for dynamic workflow, please share some documentation or reference article.

Thanks and regards,

Ashish Shukla

Your Answer

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

Browse other questions tagged or ask your own question.