Trigger change hook when field is modified in load hook

Feature(s) impacted

Smart Action dynamic field update

Observed behavior

When we add a field in load hook of a smart action while the change hook is defined such that it will add few more field based on prior’s value.
The change hook code needs to be duplicated or maybe onchange method needs to be called again after setting value in load hook also.

Expected behavior

I believe, when value is set in the load hook, based on its value onchange hook should also be triggered automatically.

Context

  • Project name: Curator
  • Team name: Developer
  • Environment name: ALL (Staging, Development, Production)
  • Agent type & version:
  • Package Version: 8.3 (forest-express-sequelize)
  • Express Version: 4.17.1
  • Sequelize Version: 6.6.5
  • Database Dialect: MySql
  • Database Version: 5.7.24

Hello @Saurav_Suman,

Thanks for reaching out :raised_hands:

I’m sorry, I’m afraid I didn’t understand completely for issue.

Could you please detail a little bit more with a concrete use case, screenshots or screencasts to point out what’s not working?

Thanks a lot.
Cheers!