You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use GravityForms along with GravityFlow to allow our website to interact with several third-party systems.
We are experimenting with PowerBoost's Local JSON and Replace Forms feature to sync configuration between our dev/stage/production environments.
Inspecting the JSON from one of our forms that was saved using the Local JSON feature, there is a top-level "feeds" property where the GravityFlow workflow configuration is serialized (see attached).
However, when trying to move a form from one environment to the next, the replaced a form does not pick up the GravityFlow configuration.
I see in this code, that PowerBoost is delegating the update to GFAPI::update_form().
What I don't know is whether GFPB_Form_Replacer::update_forms() should also be responsible for calling GFAPI:update_feed()?
Or if this may be an issue in GFAPI in that it should detect that the form has a feeds property and attempt to update the feeds as well?
Or it could be that GravityFlow is hooking into GravityForms incorrectly?
Sorry, I'm not an experienced WordPress plugin developer. I'm just trying to figure out a way for us to migrate the workflows between environments and avoid having to manually rebuild them.
Any guidance or recommendations would be appreciated.
Thanks for trying my plugin. I don't have a copy of Gravity Flow. That's my problem, not yours. I'd look for a Gravity Flow save hook and start reading the nearby code to see how the feeds data is placed.
We use GravityForms along with GravityFlow to allow our website to interact with several third-party systems.
We are experimenting with PowerBoost's Local JSON and Replace Forms feature to sync configuration between our dev/stage/production environments.
Inspecting the JSON from one of our forms that was saved using the Local JSON feature, there is a top-level "
feeds
" property where the GravityFlow workflow configuration is serialized (see attached).However, when trying to move a form from one environment to the next, the replaced a form does not pick up the GravityFlow configuration.
I see in this code, that PowerBoost is delegating the update to
GFAPI::update_form()
.What I don't know is whether
GFPB_Form_Replacer::update_forms()
should also be responsible for callingGFAPI:update_feed()
?Or if this may be an issue in GFAPI in that it should detect that the form has a
feeds
property and attempt to update the feeds as well?Or it could be that GravityFlow is hooking into GravityForms incorrectly?
Sorry, I'm not an experienced WordPress plugin developer. I'm just trying to figure out a way for us to migrate the workflows between environments and avoid having to manually rebuild them.
Any guidance or recommendations would be appreciated.
Thanks, Daniel.
12.json
The text was updated successfully, but these errors were encountered: