Is it advisable to deploy to /var?

snbaem

29-08-2019

We are trying to deploy a workflow to the instance via code and the changes are withing "/conf/global/settings/workflow/models" and "/var/workflow/models". For the changes under /var and /conf, I have added filter to filter.xml. Is it advisable to deploy such changes through code? When I tried the changes seem to go in fine to the instance.

Answers (3)

Answers (3)

snbaem

19-09-2019

yes it seems to work fine.  I added below to ui.content, filter.xml, matches to what berliant​ has mentioned. The "mode" is need basis.

<filter root="/var/workflow/models/customwf" mode="replace"/>

<filter root="/conf/global/settings/workflow/models/customwf" mode="replace"/>

berliant

Employee

19-09-2019

You need to add two locations into a filter.xml:

    <filter root="/conf/global/settings/workflow/models/mymodel"/>

    <filter root="/var/workflow/models/mymodel"/>

farahz913310

18-09-2019

Hi ,

I am also trying to add var node at code level.

Did it work for you.

I added a  /var/workflow/model/mymodel in filter.xml. Is this the right way

Thanks