Display rules not working on auto action form when adding related record

Post Reply
antevasin
Posts: 125
Joined: 24 Mar 2020, 08:57
Name: Spencer Crocker
Location: Corby, UK
Company Name: Unicloud
Contact:

Display rules not working on auto action form when adding related record

Post by antevasin »

I've set up a demo to show the issue.
Even though 'Apply fields display rules' is enabled on auto action #3 Add Incident (Contractor) the display rule for the Incident entity is not working.
https://pdemo.rukovoditel.pro/3.2/index ... mo_id=1779
If you are use the normal Add button the display rule works when you change the Incident Trigger Field value it hides/shows the Incident Hidden Field.
https://pdemo.rukovoditel.pro/3.2/index ... mo_id=1779
However when you are in a Contractor Job and click the Add Incident auto action button the display rules do not work.
https://pdemo.rukovoditel.pro/3.2/index ... mo_id=1779
User avatar
support
Site Admin
Posts: 6231
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Display rules not working on auto action form when adding related record

Post by support »

There is restriction, rules works for current entity only.
rmcdonald
Investor
Investor
Posts: 417
Joined: 19 Dec 2018, 02:33
Name: Robert McDonald
Location: Auckland, New Zealand
Company Name: Unicloud
Contact:

Re: Display rules not working on auto action form when adding related record

Post by rmcdonald »

Hi Sergey,

When adding the related item the display rules really need to display for the related item you are adding as the option still exists in the creation of the auto action. Without display rules functioning the form becomes unusable
User avatar
support
Site Admin
Posts: 6231
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Display rules not working on auto action form when adding related record

Post by support »

I have redevelop code and fixed this issue for version 3.4
antevasin
Posts: 125
Joined: 24 Mar 2020, 08:57
Name: Spencer Crocker
Location: Corby, UK
Company Name: Unicloud
Contact:

Re: Display rules not working on auto action form when adding related record

Post by antevasin »

Thanks. Does it require a DB update or will the files be available ahead of 3.4?
User avatar
support
Site Admin
Posts: 6231
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Display rules not working on auto action form when adding related record

Post by support »

It's not required db updates but changes in many files since I redevelop all code for this feature.
Post Reply