How to add workflow to package

Hello,

I make package for creating fields in existing module but I also need to add workflow to package.

How i can do that?

Ramana Raju Santhana

sidhu sidhu

Parents
  • Hi Bhavesh

                        As Ramana Raju Santhana mentioned,for example if you create a workflow for the Accounts module the files will be present in the

    /custom/modules/Accounts/workflow/

                         It is not the best practise to do so as when ever you create other custom workflows in the module from ui they get updated in to the below path.If they are any previous things they get lost if you use the package.We can mostly use the code in the file preset below for debugging purposes if any.

    /custom/modules/Accounts/workflow/workflow.php file and also records get created in the workflow tables.

                         Workflows are meant to be created from the user interface and also by just moving files in the above folder i dont think we can be creating workflows-for me it dint.

    HTH

    Regards

    Sidhu

Reply
  • Hi Bhavesh

                        As Ramana Raju Santhana mentioned,for example if you create a workflow for the Accounts module the files will be present in the

    /custom/modules/Accounts/workflow/

                         It is not the best practise to do so as when ever you create other custom workflows in the module from ui they get updated in to the below path.If they are any previous things they get lost if you use the package.We can mostly use the code in the file preset below for debugging purposes if any.

    /custom/modules/Accounts/workflow/workflow.php file and also records get created in the workflow tables.

                         Workflows are meant to be created from the user interface and also by just moving files in the above folder i dont think we can be creating workflows-for me it dint.

    HTH

    Regards

    Sidhu

Children
No Data