Start workflow on button click

Looking at starting an ARAS workflow when clicking a button on a form. From what I've found online this doesn't seem as simple as it should be; I have to manually create methods and code to create an instance and fire it up? Seriously?
Parents
  • Hi bdc604, In Innovator, the default behavior is for an item's workflow to start automatically when that item is saved to the database for the first time. It is possible to manually start a workflow, but that would require some code and customization as you mentioned. If do you need to manually initiate workflows in your Aras environment, you can adapt the labs_WorkflowLaunchExample method from the AutoWorkflowLaunch community project on the Aras Labs GitHub. Eli
    Eli Donahue Aras Labs Software Engineer
Reply
  • Hi bdc604, In Innovator, the default behavior is for an item's workflow to start automatically when that item is saved to the database for the first time. It is possible to manually start a workflow, but that would require some code and customization as you mentioned. If do you need to manually initiate workflows in your Aras environment, you can adapt the labs_WorkflowLaunchExample method from the AutoWorkflowLaunch community project on the Aras Labs GitHub. Eli
    Eli Donahue Aras Labs Software Engineer
Children
No Data