Is it advisable to deploy to /var?

Avatar

Avatar

snbaem

Avatar

snbaem

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.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

953

Correct Reply

1.0K

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

953

Correct Reply

1.0K
Jörg_Hoh
Employee

29-08-2019

In this specific case, I would deploy to /var.

Answers (3)

Answers (3)

Avatar

Avatar

snbaem

Avatar

snbaem

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"/>

Avatar

Avatar

berliant

Employee

Avatar

berliant

Employee

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"/>

Avatar

Avatar

farahz913310

Avatar

farahz913310

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